Bug 2251912

Summary: maturin fails to build in Fedora Rawhide: build_context::test::test_macosx_deployment_target stdout
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: maturinAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, ksurma, mhroncok, python-packagers-sig, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: maturin-1.3.2-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-30 00:06:52 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: 2231791, 2244836    

Description Karolina Surma 2023-11-28 12:00:40 UTC
During the Python 3.13 rebuild in Copr we discovered that maturin fails to build in Fedora Rawhide.

---- build_context::test::test_macosx_deployment_target stdout ----
thread 'build_context::test::test_macosx_deployment_target' panicked at src/build_context.rs:1254:9:
assertion failed: `(left == right)`

Diff < left / right > :
 (
     (
         10,
<        12,
>        7,
     ),
     (
         11,
         0,
     ),
 )


https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06692125-maturin/

For all our attempts to build maturin with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/maturin/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Comment 1 Fedora Update System 2023-11-30 00:03:44 UTC
FEDORA-2023-927b45f471 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-927b45f471

Comment 2 Fedora Update System 2023-11-30 00:06:52 UTC
FEDORA-2023-927b45f471 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.