Bug 393938 - krita-python-libs missing from krita package
Summary: krita-python-libs missing from krita package
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 08:42 UTC by Daphne
Modified: 2025-09-20 09:36 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daphne 2018-05-07 08:42:25 UTC
Overview:
It seems that the files necessary for python scripting within krita are not provided in the neon package.

Steps to Reproduce:
1) Install the "krita" and "python3-dev" packages.
2) Execute krita
3) Open Settings > Configure Krita

Actual Results:
1) The "Python Plugin Manager" tab is missing from the window.
2) krita command output includes the following:

Python::setPath. Script paths: ("/home/daphne/.local/share/krita/", "/usr/share/krita/", "/home/daphne/.local/share/krita/pykrita/", "/usr/share/krita/pykrita/", "/usr/share/pykrita/") false
pythonLibsPath (krita-python-libs) ""
Cannot find krita-python-libs
"Cannot set Python paths"


Expected Results:
A "Python Plugin Manager" tab should exist in the window.

Additional Information:
* The problem was reported to the Krita people at https://forum.kde.org/viewtopic.php?f=139&t=152343&sid=210feaa03da540eeb734c1da5bd3428c , who suggested I file a bug with Neon.
* Current krita version: 1:4.0.1-0neon+16.04+xenial+build23
* Current python3-dev version: 3.5.1-3
Comment 1 Justin Zobel 2022-11-21 08:21:57 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Nagy Tibor 2022-11-21 09:00:28 UTC
Krita is still mispackaged on Neon without Python plugin support. This issue, combined with the lost GMIC filters around the Krita 4->5 transition basically forces me to use the AppImage packages at this point.
Comment 3 Daphne 2022-11-21 10:02:26 UTC
I confirm the "Python Plugin Manager" is still missing when installing from apt, while it's present in the appimage version.

The output I mentioned doesn't appear any longer, but the bug is still there.
Comment 4 Daphne 2022-11-21 10:04:07 UTC
Current Krita version: 1:5.1.3-0xneon+22.04+jammy+release+build10
Current python3-dev version: 3.10.6-1~22.04
Comment 5 Nagy Tibor 2023-08-03 19:40:02 UTC
Jenkins says when building Krita for Neon:

> -- The following OPTIONAL packages have not been found:
> 
>  * PythonLibrary (required version >= 3.0), Python Library, <https://www.python.org>
>    Required by the Krita PyQt plugin
>  * SIP (required version >= 4.19.13), Support for generating SIP Python bindings, <https://www.riverbankcomputing.com/software/sip/download>
>    Required by the Krita PyQt plugin
>  * PyQt5 (required version >= 5.6.0), Python bindings for Qt5., <https://www.riverbankcomputing.com/software/pyqt/download5>
>    Required by the Krita PyQt plugin

All of these packages are needed for the pykrita plugin according to its CMakeLists file:
https://invent.kde.org/graphics/krita/-/blob/287099d907fc4b539a51f23bc967cdc11671d0c2/plugins/extensions/pykrita/CMakeLists.txt#L1

Now the question is why the build server doesn't find these packages.
Comment 6 Carlos De Maine 2025-09-20 09:36:24 UTC
Thank you for your bug report! 
However this bug report was created/provided previous to 01/01/2023 and also has not received any updates since  before 01/01/2025. 
Unfortunately KDE neon no longer provides updates for anything older than noble 24.04 based edition's.
Please upgrade to KDE neon noble and if you can reproduce the issue after upgrading to an active version, feel free to re-open this bug report.
Thanks for understanding!