(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