Adds Python 3 and Qt5 support to Shotgun Desktop.
This release of Shotgun Desktop includes both Python 2.7.17 and Python 3.7.8 support. It also ships with Qt 5 and PySide 2.
It is supported on the following platforms:
- Windows 8 and above
- macOS 10.13 and above
- CentOS 7.4 and above
| v1.6.1 Windows
| v1.6.1 CentOS
What is new?
You can choose which version of Python to run Shotgun Desktop under. When running the Advanced Project Setup in Python 3 mode, projects will be configured to use the built-in Python 3 interpreter. Note that once setup, a project configured with Python 3 can still be used by a user running a Python 2 version of Shotgun Desktop and vice-versa.
To select which version of Python to use on startup, set the
SHOTGUN_PYTHON_VERSION environment variable to
What steps should I take to ensure my site configuration and projects will work in Python 3 mode?
If you do not have a custom site configuration, no steps need to be taken. Shotgun Desktop comes packaged with the latest versions of all our components out of the box.
If you have customized your site configuration and/or project configurations, make sure that they have the most recent versions of the following packages:
- tk-desktop (v2.5.9+)
- tk-framework-shotgunutils (v5.7.6+)
- tk-framework-qtwidgets (v2.8.3+)
- tk-framework-desktopserver (v1.4.4+)
- tk-multi-launchapp (v0.11.2+)
- tk-core (v0.19.16+)
What about content creation software running in Python 3 mode?
We currently support the following products in Python 3 mode:
- Autodesk 3dsMax
- Autodesk Alias
- Autodesk Maya
- Autodesk VRed
- SideFX Houdini
- Adobe Photoshop
- Adobe After Effects
Note that to launch a given product in Python 3 mode, you will need to modify the software entities in Shotgun. See your content creation software's command-line arguments to find which command-line arguments launch it in Python 3 mode. You'll also need to update apps and engines in your configuration for Python3 compatible versions.
For an up to date list of Toolkit bundles and products supported with Python 3, see this list.
Will custom Toolkit applications work in Python 3?
Provided the code has been ported to Python 3 and is targeting Python 3.7.x, they should work. If you've never ported an application to Python 3, we've documented the process we've used to port our code to Python 3.