Bug 2365636

Summary: python-msgspec fails to build with Python 3.14: TypeError: Extra positional arguments provided
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-msgspecAssignee: a.tritas
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.tritas, ksurma, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2322407    

Description Karolina Surma 2025-05-12 13:23:40 UTC
python-msgspec fails to build with Python 3.14.0b1.

This was tackled in https://bugzilla.redhat.com/show_bug.cgi?id=2325169
And happens again with b1:

+ /usr/bin/pytest
============================= test session starts ==============================
platform linux -- Python 3.14.0b1, pytest-8.3.5, pluggy-1.5.0
rootdir: /builddir/build/BUILD/python-msgspec-0.19.0-build/msgspec-0.19.0
configfile: setup.cfg
collected 5762 items / 3 errors / 2 skipped

==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_struct.py _____________________
tests/test_struct.py:842: in <module>
    FrozenPoint(1, 2),
E   TypeError: Extra positional arguments provided
_____________________ ERROR collecting tests/test_toml.py ______________________
tests/test_toml.py:125: in <module>
    (ExStruct(1, "two"), ExStruct),
E   TypeError: Extra positional arguments provided
_____________________ ERROR collecting tests/test_yaml.py ______________________
tests/test_yaml.py:105: in <module>
    (ExStruct(1, "two"), ExStruct),
E   TypeError: Extra positional arguments provided
=========================== short test summary info ============================
ERROR tests/test_struct.py - TypeError: Extra positional arguments provided
ERROR tests/test_toml.py - TypeError: Extra positional arguments provided
ERROR tests/test_yaml.py - TypeError: Extra positional arguments provided
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 skipped, 3 errors in 1.99s =========================

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09021438-python-msgspec/

For all our attempts to build python-msgspec with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-msgspec/

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

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
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.