Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to setup local env for numalogic-prometheus :- Need Documentation #68

Open
sarabala1979 opened this issue Jan 29, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sarabala1979
Copy link
Collaborator

(venv) ➜  numalogic-prometheus git:(config) ✗ make setup                            
poetry install --with dev --all-extras
The virtual environment found in /Users/sbalasubram/go/src/github.com/numaproj/numalogic-prometheus/venv seems to be broken.
Recreating virtualenv numalogic-prometheus-tVpy5feE-py3.11 in /Users/sbalasubram/Library/Caches/pypoetry/virtualenvs/numalogic-prometheus-tVpy5feE-py3.11
Installing dependencies from lock file
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run `poetry lock [--no-update]` to fix it.

The current project's Python requirement (3.11.1) is not compatible with some of the required packages Python requirement:
  - numalogic requires Python >=3.8,<3.11, so it will not be satisfied for Python 3.11.1

Because numalogic (0.3.2) requires Python >=3.8,<3.11
 and no versions of numalogic match >=0.3.1,<0.3.2 || >0.3.2,<0.4.0, numalogic is forbidden.
So, because numalogic-prometheus depends on numalogic (~0.3.1), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For numalogic, a possible solution would be to set the `python` property to "<empty>"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers
make: *** [setup] Error 1

@sarabala1979 sarabala1979 added the bug Something isn't working label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant