Bug 2414802

Summary: python-rq fails to build with Python 3.15: AssertionError in TestDependencies.test_dependencies_are_met_at_execution_time
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-rqAssignee: Paul Wouters <paul.wouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: extras-orphan, ksurma, mhroncok, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rq-2.6.1-1.fc45 python-rq-2.6.1-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-02-10 19:30:56 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: 2412434    

Description Karolina Surma 2025-11-13 11:08:33 UTC
python-rq fails to build with Python 3.15.0a1.

_________ TestDependencies.test_dependencies_are_met_at_execution_time _________

self = <tests.test_dependencies.TestDependencies testMethod=test_dependencies_are_met_at_execution_time>

    def test_dependencies_are_met_at_execution_time(self):
        queue = Queue(connection=self.testconn)
        queue.empty()
        queue.enqueue(say_hello, job_id="A")
        queue.enqueue(say_hello, job_id="B")
        job_c = queue.enqueue(check_dependencies_are_met, job_id="C", depends_on=["A", "B"])
    
        job_c.dependencies_are_met()
        w = Worker([queue])
        w.work(burst=True)
>       assert job_c.result
E       AssertionError: assert None
E        +  where None = Job('C', enqueued_at=None).result


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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09789922-python-rq/

For all our attempts to build python-rq with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/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.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
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 Fedora Admin user for bugzilla script actions 2025-12-10 01:04:03 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Update System 2026-02-10 19:02:31 UTC
FEDORA-2026-7119ec9f6b (python-rq-2.6.1-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7119ec9f6b

Comment 3 Fedora Update System 2026-02-10 19:30:56 UTC
FEDORA-2026-7119ec9f6b (python-rq-2.6.1-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-02-10 23:21:16 UTC
FEDORA-2026-5500cd61e4 (python-rq-2.6.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5500cd61e4

Comment 5 Fedora Update System 2026-02-10 23:24:50 UTC
FEDORA-2026-5500cd61e4 (python-rq-2.6.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.