Description of problem: After https://src.fedoraproject.org/rpms/python-cryptography/c/cb16ef22f994a7232a1c9825f4cb99473cfae70d?branch=rawhide python-cryptography fails to build in ELN. The error is: error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12) Version-Release number of selected component: python-cryptography-42.0.8-1.eln141 Steps to Reproduce: fedpkg --release eln build (--scratch) Actual results: fails to build Expected results: builds fine Additional info: Additionally, the package now depends on tox (unwanted in ELN) due to the -t flag for %pyproject_buildrequires. But that requirement is likely bogus because there is no tox configuration.
> Additionally, the package now depends on tox (unwanted in ELN) due to the -t flag for %pyproject_buildrequires. But that requirement is likely bogus because there is no tox configuration. https://src.fedoraproject.org/rpms/python-cryptography/pull-request/34
(In reply to Miro Hrončok from comment #1) > > Additionally, the package now depends on tox (unwanted in ELN) due to the -t flag for %pyproject_buildrequires. But that requirement is likely bogus because there is no tox configuration. > > https://src.fedoraproject.org/rpms/python-cryptography/pull-request/34 Merged that. As for PyO3, we can either build with PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 or ELN can bump to PyO3 >= 0.22.0.
> or ELN can bump to PyO3 >= 0.22.0. The ELN build bundles old PyO3.
I used PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to fix a similar issue in python-rpds-py; I suggest doing the same here.
Ah, I see. Looking at the Rawhide logs it is also building on PyO3 0.20, but I'm not familiar enough with PyO3 or the Fedora Rust packaging to see where it's setting PYO3_USE_ABI3_FORWARD_COMPATIBILITY - I assume it must be since it (clearly) doesn't build without it. I'm inclined to hack it in for eln until upstream migrates to 0.22. https://src.fedoraproject.org/rpms/python-cryptography/pull-request/35
FEDORA-2024-f62eda62b5 (python-cryptography-43.0.0-2.fc41, rust-asn1-0.16.2-1.fc41, and 1 more) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f62eda62b5
FEDORA-2024-42d8c5bd2d (freeipa-4.12.1-3.fc42, pyOpenSSL-24.2.1-1.fc42, and 4 more) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-42d8c5bd2d
FEDORA-2024-42d8c5bd2d (freeipa-4.12.1-3.fc42, pyOpenSSL-24.2.1-1.fc42, and 4 more) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-f62eda62b5 (freeipa-4.12.1-2.fc41, pyOpenSSL-24.2.1-1.fc41, and 3 more) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.