Bug 2328811

Summary: Python 3.13.x breaks plugins
Product: [Fedora] Fedora Reporter: Joshua Goins <josh>
Component: kritaAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: kde-sig, ngompa13, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: krita-5.2.6-2.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-13 01:18:35 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:

Description Joshua Goins 2024-11-25 23:58:47 UTC
Description of problem:
The upgrade to Python 3.13 in F41 breaks Krita plugins, which only seem to support 3.12.

Version-Release number of selected component (if applicable):
5.2.3

How reproducible:
Always

Steps to Reproduce:
1. Install Krita
2. Launch from the command line to see the plugin output, or open plugin settings and see nothing available.


Actual results:
No plugins available

Expected results:
Built-in plugins available


Additional info:

Log from Krita says:
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/usr/lib64/krita-python-libs/krita/__init__.py\", line 32, in <module>"
krita.scripting: "    import excepthook"
krita.scripting: "  File \"/usr/lib64/krita-python-libs/krita/excepthook.py\", line 14, in <module>"
krita.scripting: "    import cgitb"
krita.scripting: "ModuleNotFoundError: No module named 'cgitb'"
krita.scripting: "Could not import krita"

Comment 1 Fedora Update System 2025-01-04 14:52:19 UTC
FEDORA-2025-8adb3603f4 (krita-5.2.6-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8adb3603f4

Comment 2 Fedora Update System 2025-01-05 02:53:02 UTC
FEDORA-2025-8adb3603f4 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-2025-8adb3603f4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8adb3603f4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-01-13 01:18:35 UTC
FEDORA-2025-8adb3603f4 (krita-5.2.6-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.