Fedora Account System
Red Hat Associate
Red Hat Customer
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
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.