Bug 2327976
Summary: | python-sqlalchemy1.4 fails to build with Python 3.14: RuntimeError: There is no current event loop in thread 'MainThread'. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-sqlalchemy1.4 | Assignee: | Nils Philippsen <nphilipp> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | fti-bugs, ksurma, mbayer, mhroncok, nphilipp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-sqlalchemy1.4-1.4.54-4.fc43 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2025-06-12 08:01:20 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: | 2322407, 2339432, 2339435, 2372159 |
Description
Karolina Surma
2024-11-22 10:02:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. This will be relevant for Fedora 43, so changing the version back. 😉 *** Bug 2372149 has been marked as a duplicate of this bug. *** /cc @mbayer Hey Mike, I realize that 1.4 is probably not at the top of your head. Nonetheless, to solve #2350336 (same thing, just for v2.0) you fixed a couple of separate issues but I don’t know which of these apply here (IIRC, some were because of 3.14 being more of a moving target) – I’ve attempted back-porting changes 2.0 => 1.4 before but wasn’t successful, but I want to help if I can. Got any pointers? for that issue you'd be looking to backport this commit: https://github.com/sqlalchemy/sqlalchemy/commit/4bc12e6abda97386b2eb66aff21312d010e the patch does not apply without conflicts right now because the 1.4 series has all the py2k/py3k conditionals going on. another approach would be to run the test suite passing ``--disable-asyncio``. that will just skip all the asyncio tests. you would not be able to test against an asyncio database driver when that flag is passed. IIUC you are just running the default suite against sqlite only. if you are trying to get 1.4 to pass under python 3.14 you also might come across the test_memusage change that was part of the 2.0 patch. Most of the other stuff in 2.0's patch is related to the runtime annotation stuff, of which none of that is in 1.4. I’ve submitted a PR against rel_1_4 here: https://github.com/sqlalchemy/sqlalchemy/pull/12666 Building python-sqlalchemy1.4-1.4.54-4.fc43: https://koji.fedoraproject.org/koji/taskinfo?taskID=133842011 |