Closed
Description
I was going to try redis-om
out in my project, but turned out that the supported Python versions of redis-om
redis-om-python/pyproject.toml
Line 37 in 1e33e25
does not match the Python requirements in my project:
python = "~3.11"
Here's the error message:
$ poetry add redis-om==0.1.1
Updating dependencies
Resolving dependencies... (0.0s)
The current project's Python requirement (>=3.11,<3.12) is not compatible with some of the required packages Python requirement:
- redis-om requires Python >=3.7,<=3.11, so it will not be satisfied for Python >3.11,<3.12
Because <project name> depends on redis-om (0.1.1) which requires Python >=3.7,<=3.11, version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For redis-om, a possible solution would be to set the `python` property to "3.11"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
Seems like the proper way to support Python 3.11 in redis-om
would be to set the Python requirements to:
python = ">=3.7,<3.12"
PR: #446
Metadata
Metadata
Assignees
Labels
No labels