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

AttributeError: module 'bcrypt' has no attribute '__about__' #197

Closed
oliv10 opened this issue Jan 18, 2024 · 2 comments · Fixed by #201
Closed

AttributeError: module 'bcrypt' has no attribute '__about__' #197

oliv10 opened this issue Jan 18, 2024 · 2 comments · Fixed by #201
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@oliv10
Copy link
Collaborator

oliv10 commented Jan 18, 2024

Trapped error, causes no issues, but is thrown none the less. May need to update dependency to resolve.

2024-01-17 19:50:28 (trapped) error reading bcrypt version
2024-01-17 19:50:28 Traceback (most recent call last):
2024-01-17 19:50:28   File "/usr/local/lib/python3.11/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
2024-01-17 19:50:28     version = _bcrypt.__about__.__version__
2024-01-17 19:50:28               ^^^^^^^^^^^^^^^^^
2024-01-17 19:50:28 AttributeError: module 'bcrypt' has no attribute '__about__'
@oliv10 oliv10 added bug Something isn't working dependencies Pull requests that update a dependency file labels Jan 18, 2024
@oliv10
Copy link
Collaborator Author

oliv10 commented Jan 18, 2024

pyca/bcrypt#684

Recommend moving away from passlib and finding another solution. Passlib in no longer maintained and should be dropped as a dependency.

@oliv10
Copy link
Collaborator Author

oliv10 commented Jan 18, 2024

Might be able to drop in bcrypt and have same functionality.

https://pypi.org/project/bcrypt/

@oliv10 oliv10 linked a pull request Jan 18, 2024 that will close this issue
@oliv10 oliv10 closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant