Bug 2345521
Summary: | pykka 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: | pykka | Assignee: | Tobi <t-fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ksurma, mhroncok, t-fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pykka-4.1.2-1.fc43 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2025-02-16 14:46:41 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 |
Description
Karolina Surma
2025-02-13 11:28:48 UTC
i've opened a ticket upstream; if i disable the two tests requiring this deprecated feature pykka builds correctly (i haven't had time to test the resulting package). ``` diff --git a/pykka.spec b/pykka.spec index a78a760..395d657 100644 --- a/pykka.spec +++ b/pykka.spec @@ -63,7 +63,7 @@ cp -rp docs/_build/devhelp %{buildroot}%{_datarootdir}/devhelp/%{pypi_name} %pyproject_save_files -L pykka %check -%pytest tests +%pytest tests -k 'not test_future_supports_await_syntax and not test_future_supports_yield_from_syntax' %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE ``` there is a newer release available (4.1.1), but that requires pydantic, which isn't built yet for the py314 copr: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-pydantic-core/ for my own future reference: i ran these tests with `fedpkg mockbuild --root fedora-rawhide-python314` after creating `~/.config/mock/fedora-rawhide-python314.cfg` as per https://copr.fedorainfracloud.org/coprs/g/python/python3.14/. FEDORA-2025-39d8cce16c (pykka-4.1.2-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-39d8cce16c FEDORA-2025-39d8cce16c (pykka-4.1.2-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. |