3
0
Fork 0

feat: use bcrypt directly instead of passlib

apparently passlib has not been updated in years, and the combo with
latest bcrypt v5 was causing errors

https://github.com/pyca/bcrypt/issues/1082
https://github.com/pyca/bcrypt/issues/1079
https://foss.heptapod.net/python-libs/passlib/-/issues/196
This commit is contained in:
Lance Edgar 2025-10-19 12:58:34 -05:00
parent 050a6002da
commit 101dbdc96b
3 changed files with 10 additions and 14 deletions

View file

@ -26,6 +26,7 @@ classifiers = [
]
requires-python = ">= 3.8"
dependencies = [
"bcrypt",
"humanize",
'importlib-metadata; python_version < "3.10"',
"importlib_resources ; python_version < '3.9'",
@ -39,7 +40,7 @@ dependencies = [
[project.optional-dependencies]
db = ["SQLAlchemy", "alembic", "alembic-postgresql-enum", "passlib"]
db = ["SQLAlchemy", "alembic", "alembic-postgresql-enum"]
docs = ["Sphinx", "sphinxcontrib-programoutput", "enum-tools[sphinx]", "furo"]
tests = ["pylint", "pytest", "pytest-cov", "tox"]