Bug 2584230

Summary: python-passlib fails to build: ValueError: Extra bcrypt does not exist in upstream metadata. Available extras: [].
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-passlibAssignee: Joel Capitao <jcapitao>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: apevec, jcapitao, ksurma, manisandro, mhroncok, openstack-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-passlib-1.9.5-2.fc46 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-27 00:53:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2503726, 2567340    

Description Karolina Surma 2026-11-25 16:04:26 UTC
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.

Comment 1 Miro HronĨok 2026-11-26 07:31:23 UTC
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.

Comment 2 Sandro Mani 2026-11-26 15:29:21 UTC
The problem is that a broken source archive was published to pypi, and looks like also 1.9.5.post0 is still broken.

Comment 3 Sandro Mani 2026-11-26 23:30:43 UTC
Actually, reading the description on pypi, it looks like libpass is now again passlib, and libpass just an alias package for passlib.

Comment 4 Fedora Update System 2026-11-27 00:50:07 UTC
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

Comment 5 Fedora Update System 2026-11-27 00:53:55 UTC
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.