Summary: | Krita fails to build with Python 3.13.0~b2 | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Robert-André Mauchin <zebob.m> |
Component: | * Unknown | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=2278646 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Robert-André Mauchin
2024-06-18 18:15:32 UTC
https://docs.python.org/3.13/whatsnew/3.13.html : Remove the following old functions to configure the Python initialization, deprecated in Python 3.11: PySys_AddWarnOptionUnicode(): use PyConfig.warnoptions instead. PySys_AddWarnOption(): use PyConfig.warnoptions instead. PySys_AddXOption(): use PyConfig.xoptions instead. PySys_HasWarnOptions(): use PyConfig.xoptions instead. PySys_SetPath(): set PyConfig.module_search_paths instead. Py_SetPath(): set PyConfig.module_search_paths instead. Py_SetStandardStreamEncoding(): set PyConfig.stdio_encoding instead, and set also maybe PyConfig.legacy_windows_stdio (on Windows). _Py_SetProgramFullPath(): set PyConfig.executable instead. Use the new PyConfig API of the Python Initialization Configuration instead (PEP 587), added to Python 3.8. (Contributed by Victor Stinner in gh-105145.) Please provide a patch instead of instructions? It's not a bug in Krita that Python has decided that breaking source compatibility is a good idea. And I don't think we're supposed to keep up with beta releases of dependencies... (In reply to Halla Rempt from comment #2) > Please provide a patch instead of instructions? Since when am I required to provide patches when reporting a bug to an application? What kind of attitude is this? > It's not a bug in Krita that Python has decided that breaking source compatibility is a good idea. It has been deprecated since Python 3.11: > Python 3.11.0 > Release Date: Oct. 24, 2022 This is not new, there are code warnings when you use deprecated methods, this is not the only one in your code. > And I don't think we're supposed to keep up with beta releases of dependencies... You are not keeping up with beta release of dependencies, it has been deprecated for two years. Moreover, I don't understand why you are answering in such a passive aggressive manner? This is not my fault, I am just informing you that your software will fail to build on distro that will be shipping Python 3.13 when it will be released. Also don't close this bug again without an actual fix. Thank you. Hi, Robert-Andre! Krita officially supports Python 3.10.x LTS only. That is, all official builds of Krita use Python 3.10.x branch. We have no resources to support newer versions of Python right now. If you would like to help, you can help with adding support for newer versions. For now, we won't take action on this. As I said before, patches are welcome, as always. You might not like being asked to help out with your problem, but obviously you are capable to do so, so it is perfectly fine to ask you to help out. Do not re-open this report; it will not change our policy. |