fix: add bcrypt version constraint for passlib compatibility #40

Merged
shoko merged 1 commits from fix/bcrypt-compatibility into main 2026-04-10 02:55:36 +02:00
Owner

Summary

Fixed bcrypt/passlib compatibility issue that caused 500 errors on user registration.

Problem

bcrypt 5.0.0 is incompatible with passlib 1.7.x because passlib tries to access which was removed in bcrypt 5.x.

Error in logs:

Solution

Add bcrypt version constraint to requirements.txt:

Testing

Verified that user registration and login work correctly after the fix.

## Summary Fixed bcrypt/passlib compatibility issue that caused 500 errors on user registration. ## Problem bcrypt 5.0.0 is incompatible with passlib 1.7.x because passlib tries to access which was removed in bcrypt 5.x. Error in logs: ## Solution Add bcrypt version constraint to requirements.txt: ## Testing Verified that user registration and login work correctly after the fix.
shoko added 1 commit 2026-04-10 02:55:31 +02:00
bcrypt 5.0.0 is incompatible with passlib 1.7.x - passlib tries to
access bcrypt.__about__.__version__ which was removed in bcrypt 5.x.

Constrain bcrypt to >=4.0,<5.0 to maintain compatibility.
shoko merged commit a6e4d28aa7 into main 2026-04-10 02:55:36 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shoko/randebu#40