You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the error I'm getting when I try to add this package with poetry:
The current project's Python requirement (>=3.10) is not compatible with some of the required packages Python requirement:
- auth0-python requires Python >=3.7,<4.0, so it will not be satisfied for Python >=4.0
Because no versions of auth0-python match >4.4.1,<5.0.0
and auth0-python (4.4.1) requires Python >=3.7,<4.0, auth0-python is forbidden.
So, because fastapi-auth0 depends on auth0-python (^4.4.1), version solving failed.
Reproduction
Start a new python project with the following in pyproject.toml:
[tool.poetry]
name = "auth0"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Add auth0-python with poetry (tested with poetry v1.6.1): poetry add auth0-python.
Additional context
No response
auth0-python version
4.4.1
Python version
3.10
The text was updated successfully, but these errors were encountered:
### Changes
Fix issue with Python dependency version in 4.4.1
### References
fixes#517
### Testing
1. Start a new python project with:
```
[tool.poetry.dependencies]
python = ">=3.10"
```
In your pyproject.toml file
3. Add `auth0-python` with poetry `poetry add ../path/to/auth0-python`
Checklist
Description
It seems the latest changes in 4.4.1 in requirements.txt (https://github.com/auth0/auth0-python/blob/4.4.1/requirements.txt) causes issue if python version is specified like ">=..." in pyproject.toml.
This is the error I'm getting when I try to add this package with poetry:
Reproduction
auth0-python
with poetry (tested with poetry v1.6.1):poetry add auth0-python
.Additional context
No response
auth0-python version
4.4.1
Python version
3.10
The text was updated successfully, but these errors were encountered: