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

Missing itsdangerous dependency #663

Closed
jor-rit opened this issue Aug 28, 2024 · 0 comments · Fixed by #664
Closed

Missing itsdangerous dependency #663

jor-rit opened this issue Aug 28, 2024 · 0 comments · Fixed by #664

Comments

@jor-rit
Copy link
Contributor

jor-rit commented Aug 28, 2024

When add 'authx' to a clean project the itsdangerous dependency is not automatically also added.

So an error is raised when importing the authx module:

  File ".venv/lib/python3.12/site-packages/authx/_internal/_signature.py", line 3, in <module>
    from itsdangerous import BadTimeSignature, SignatureExpired, URLSafeTimedSerializer
ModuleNotFoundError: No module named 'itsdangerous

It looks like it is only specified in the testing requirements ,
but it does depend on it at normal runtime because it is directly imported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant