Hey - I am in the process of setting up tooling infrastructure at my new studio and wanted to know what the time line was for updating the Python version of Ayon from 3.9 to 3.10 or 3.11?
This will inform what versions we support internally so will be helpful to get some insight.
I think matching VFX Platform where they can and bump to Py3.11 could be nice.
However, latest Maya and Houdini releases all still seem to be 3.10.
It does look like next Maya will be Python 3.11+ with PySide6 though.
Yeah this was my reason for asking as VFX Platform is targeting 3.11 and PySide6 which will be a big update (Qt.py doesn’t support Qt6 so would need to migrate to qtpy instead)
Note that AYON should already be fully ported to qtpy
and in some hosts (e.g. Resolve/Fusion can run fine with PySide6) and it’s also using PySide6
on some platforms, like MacOS I believe. @iLLiCiT did a lot of work in that refactoring area. A lot of it started a long time ago, like here and some time ago here the Qt.py
dependency was removed in January for the OpenPype addon.
So there should no remaining imports of Qt
and all should’ve been refactored to qtpy
.
ah great - that should make it easier to jump to 3.11 then - thanks Roy, great insight.
I guess for now I will have to distribute 3.9, but a rough eta on when the potential switch will be would be great.
Hey - is there any update on bumping python version to 3.10/3.11?
Although, I can’t answer your question above.
But, I want to share some info for reference.
@martin.wacker @iLLiCiT please correct me.
- AYON Server uses python
^3.10
which means you can use that in server side code in your addon. ayon-backend - AYON Launcher, Core uses python
>=3.9.1,<3.10
which means client code in any addon should use it. check ayon-core project, ayon-core client and ayon-launcher - ASH Services on the other side, services, since they are separate processes that run on ASH, they can have any python version. e.g. SG processor and Kitsu Processor
Can’t tell at this moment. The issue with updating to 3.10 is that that many python dependencies will require update, which can make older pythons (3.7, 3.8) deprecated. So we have to be very carefull about it.
Thanks for the extra info - I will try to upgrade locally then as it makes life much easier as the rest of our codebase is 3.10+