Bug 2554573

Summary: Review Request: python-webauthn - Pythonic WebAuthn
Product: [Fedora] Fedora Reporter: Sandro Mani <manisandro>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Mani 2026-10-17 08:43:41 UTC
Spec URL: https://smani.fedorapeople.org/review/python-webauthn.spec
SRPM URL: https://smani.fedorapeople.org/review/python-webauthn-2.8.0-1.fc46.src.rpm
Description: Pythonic WebAuthn
Fedora Account System Username: smani

Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=151364377

Comment 1 ergün 2026-11-02 19:35:28 UTC
This is an informal review (I'm not a packager yet, so I can't approve).

I rebuilt the SRPM in a Fedora rawhide container (rpmbuild --rebuild, with the
dynamic BuildRequires resolved) and ran rpmlint.

Good:
- Source0 matches upstream: sha256 114cbb0e...a941db for the v2.8.0 GitHub
  archive (using GitHub because the PyPI sdist has no tests makes sense)
- Build OK on rawhide (Python 3.15); %check: 192 passed
- rpmlint: 0 errors, 2 warnings, both spelling-error for "Pythonic" in
  Summary (upstream's wording, can be ignored)
- License: BSD-3-Clause matches upstream
- Generated Requires match pyproject.toml, and rawhide can satisfy them all
  (cbor2 5.9.0 <6, cryptography 50, pyOpenSSL 26.4, pyasn1/-modules 0.6.5)

Suggestions (none of them block):
1. LICENSE is shipped twice: once in the dist-info (upstream uses
   license-files) and once in /usr/share/licenses via %license. With
   "%pyproject_save_files -l webauthn" you can drop the %license line.
2. %description is written out twice; a %global _description %{expand:...}
   macro would keep the two copies in sync (cosmetic).
3. "-r" in %pyproject_buildrequires is the default now, so you can drop it
   (cosmetic).
4. FYI, on Python 3.15 the tests show a FutureWarning from
   webauthn/helpers/base64url_to_bytes.py: "invalid character '+' in URL-safe
   Base64 data will be discarded in future Python versions". It does not fail
   today, but it might be worth telling upstream.

Looks good to me otherwise.