Bug 2342234

Summary: python-rq fails to build with Python 3.14: test_worker.py::HerokuWorkerShutdownTestCase::test_handle_shutdown_request shuts down the whole build
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-rqAssignee: Ali Erdinc Koroglu <aekoroglu>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aekoroglu, ksurma, mhroncok, python-packagers-sig
Target Milestone: ---Flags: mhroncok: needinfo? (aekoroglu)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
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, 2339432    

Description Karolina Surma 2025-01-27 11:49:33 UTC
python-rq fails to build with Python 3.14.0a4.

It looks like a shutdown test shuts down the whole build with Python 3.14.
It works with Python 3.13 in the current Rawhide and always fails the same waywhen building with Python 3.14 in Copr or mock:

tests/test_worker.py::HerokuWorkerShutdownTestCase::test_handle_shutdown_request Finish: rpmbuild python-rq-1.16.2-3.fc42.src.rpm

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/fedora-rawhide-x86_64/08555010-python-rq/

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

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/

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.

Comment 1 Ravi 2025-01-27 19:49:16 UTC Comment hidden (spam)
Comment 2 Aoife Moloney 2025-02-26 13:49:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.