Bug 2322559
| Summary: | python3-cheetah does not support python 3.13 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike McLean <mikem> |
| Component: | python-cheetah | Assignee: | Mike Bonnet <mikeb> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | carl, mhroncok, mikeb, python-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-cheetah-3.2.6.post1-11.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-09 01:44:57 UTC | Type: | --- |
| 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: | 2244836 | ||
Upstream has a few bugs related to 3.13 support, but has not yet cut a release to fix them. See https://github.com/CheetahTemplate3/cheetah3/issues/63 It looks like this was already fixed for f42 in rhbz#2313699 This is also needed in F41 https://bugzilla.redhat.com/show_bug.cgi?id=2313699 https://src.fedoraproject.org/rpms/python-cheetah/pull-request/7 I went ahead and kicked off a build from HEAD -- https://koji.fedoraproject.org/koji/buildinfo?buildID=2576262 This needs to be pushed in dist git as well. Building packages for f41 from rawhide branch is possible, but it creates a discrepancy in the sources. Also, that update is backward incompatible and should not be pushed to stable Fedora at this point, see https://src.fedoraproject.org/rpms/python-cheetah/pull-request/7#comment-221450 and further. At the very least, cobbler needs to be synced with rawhide as well (but beware the 0%{?fedora} >= 42 conditionals in the spec) and the build needs to land in the same Bodhi update. ah, well, apologies if I made things more complicated If nothing else, backporting this one part would at least allow kojiweb to run in F41 https://github.com/CheetahTemplate3/cheetah3/commit/faf45251aafc7dadc6945260a6b371d821f5389a related Koji issue -- https://pagure.io/koji/issue/3966 Can I get some review on https://src.fedoraproject.org/rpms/python-cheetah/pull-request/9 ? Thanks! FEDORA-2024-82c2e69531 (python-cheetah-3.2.6.post1-11.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-82c2e69531 FEDORA-2024-82c2e69531 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-82c2e69531` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-82c2e69531 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-82c2e69531 (python-cheetah-3.2.6.post1-11.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
Python 3.13.0 (main, Oct 8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import Cheetah.Template Traceback (most recent call last): File "<python-input-0>", line 1, in <module> import Cheetah.Template File "/usr/lib64/python3.13/site-packages/Cheetah/Template.py", line 24, in <module> import cgi # Used by .webInput() if the template is a CGI script. ^^^^^^^^^^ ModuleNotFoundError: No module named 'cgi' Reproducible: Always Steps to Reproduce: 1. import Cheetah.Template Actual Results: ModuleNotFoundError: No module named 'cgi' Expected Results: imported module