Hi
Current version of Python provided with Krita appimage is 3.8.1, same for windows version.
Concerning macOS, I can’t check because I don’t have a mac, but I faced a bug on a plugin here:
Oh ok, no problem! The message occurs when I start Krita. The message is behind the Krita loading screen. I would have to click outside the Krita screen in order to see the message. And here’s the full error message:
AttributeError
Python 3.9.12: /Users/sydni/Desktop/krita.app/Contents/MacOS/krita
Thu Sep 29 11:51:32 2022
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/Users/sydni/Desktop/krita.app/Content…
And origin of bug is, on macOS python version is 3.9.12
Is it normal?
Is python is provided on macOs like for windows & appimage, or does Krita on macOs use the python version installed on system?
@halla @IvanYossi any idea (I think you have a macOs )
@amyspark for what I saw in weekly meeting:
[amyspark] The dependencies that are screaming “UPDATE ME” (meaning: they are difficult to update) are:
Python (both 3.8 and 3.9, which we ship, are EOL)
Iván said that 3.10 has some trouble with pyQt? See below
[iván] amyspark: I dont think the sip-python is still a problem
So maybe you also know how python is managed for macOs
Grum999
halla
October 1, 2022, 4:19pm
2
Always a bundled version of python, not the system version. @amyspark is looking into upgrading.
Ok thanks for information
But is it normal to not have the same version bundled for macOs than for Linux & Windows?
Because it could be source of plugin incompatibility…
Grum999
Yeah, it’s expected. We had been held back from upgrading due to incompatibilities between PyQt5 and all its requirements.
A fix for all that is in the works locally, but I expect it’ll be made available only in 5.2 at the earliest.
Ok!
So if I understood when all will be fixed, the python version will be the same for all platform?
Grum999
Yes, 3.10.7 across all supported platforms, at the very least.
Just took a look on Python 3.9 & 3.10 change log, there’s some really interesting things
Especially the match statement, goodbye the long list of if ... elif ... elif ... elif ... elif ...
Grum999
Yes, 3.9 was the first python to compile correctly both x86_64 and arm64 arch builds from the M1 system. Reflecting upon this the problem might have originated from our build script. But this was all very new back then (at least for me) and I was eager to get it working
Thanks all for explanation
Grum999