Skip to content

fix: _bcrypt.__about__.__version__ log warning #3136

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

Merged
merged 2 commits into from
Apr 30, 2025
Merged

Conversation

motorina0
Copy link
Collaborator

pyca/bcrypt#684 (comment)

WARNING:passlib.handlers.bcrypt:(trapped) error reading bcrypt version
Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/lnbits-S_y84ukP-py3.12/lib/python3.12/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
    version = _bcrypt.__about__.__version__
              ^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute '__about__'

@motorina0 motorina0 requested review from dni and talvasconcelos April 30, 2025 11:12
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.76%. Comparing base (c4d0540) to head (76b2488).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #3136      +/-   ##
==========================================
+ Coverage   61.74%   61.76%   +0.02%     
==========================================
  Files         104      104              
  Lines       13265    13271       +6     
==========================================
+ Hits         8190     8197       +7     
+ Misses       5075     5074       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@motorina0 motorina0 merged commit 32cbf16 into dev Apr 30, 2025
43 checks passed
@motorina0 motorina0 deleted the fix_bcrypt_warning branch April 30, 2025 17:44
@tlindi
Copy link
Contributor

tlindi commented May 1, 2025

Fixes this too #3096 (comment)?

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 this pull request may close these issues.

3 participants