Fedora Account System
Red Hat Associate
Red Hat Customer
python-passlib fails to build with Python 3.16.0a2. + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-passlib-1.9.5-build/pyproject-wheeldir --output /builddir/build/BUILD/python-passlib-1.9.5-build/python-passlib-1.9.5-1.fc46.x86_64-pyproject-buildrequires --dep-overrides-file /builddir/build/BUILD/python-passlib-1.9.5-build/python-passlib-1.9.5-1.fc46.x86_64-pyproject-dep-overrides -x bcrypt -x totp -x argon2 Handling uv_build>=0.13.4,<0.14.0 from build-system.requires Requirement satisfied: uv_build<0.14.0,>=0.13.4 (installed: uv_build 0.13.9) Handling passlib==1.9.4 from hook generated metadata: Requires-Dist (libpass) Requirement not satisfied: passlib==1.9.4 Traceback (most recent call last): File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 847, in main generate_requires( ~~~~~~~~~~~~~~~~~^ include_runtime=args.runtime, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<12 lines>... dependency_overrides=dependency_overrides, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 717, in generate_requires raise ValueError( ...<2 lines>... ) ValueError: Extra bcrypt does not exist in upstream metadata. Available extras: []. https://docs.python.org/3.16/whatsnew/3.16.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.16/fedora-rawhide-x86_64/11389269-python-passlib/ For all our attempts to build python-passlib with Python 3.16, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/package/python-passlib/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.16: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/ Let us know here if you have any questions. Python 3.16 is planned to be included in Fedora 47. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.16. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
I was curious why would this happen on Python 3.16 specifically. But I see: ValueError: Extra argon2 does not exist in upstream metadata. Available extras: []. In https://koji.fedoraproject.org/koji/taskinfo?taskID=152645118 Those are not Python 3.16-specific issues.
The problem is that a broken source archive was published to pypi, and looks like also 1.9.5.post0 is still broken.
Actually, reading the description on pypi, it looks like libpass is now again passlib, and libpass just an alias package for passlib.
FEDORA-2026-abfab4c266 (python-flask-security-too-5.8.2-2.fc46 and python-passlib-1.9.5-2.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-abfab4c266
FEDORA-2026-abfab4c266 (python-flask-security-too-5.8.2-2.fc46 and python-passlib-1.9.5-2.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report.