Dear SG Community,
Last January 2023, we ended support for Python 2.7 as announced in this community post: We discontinued shipping Python 2.7. At that time, we also stopped shipping Python 2.7 with new versions of ShotGrid desktop (v1.8.0+). Despite that change, compatibility with Python 2.7 was maintained.
Starting from May 1st 2024, both Toolkit and Python API will discontinue support for Python 2.7. This change is aimed at maintaining the high security standards that you expect for ShotGrid. There is no guarantee that your tools will continue to work with ShotGrid if they are still using Python 2.7.
We strongly recommend updating to Python 3 before the end of April 2024. Read more about Python 3 Porting Best Practices here.
F.A.Q.
-
Why are you discontinuing Python 2.7?
Python 2.7 has been discontinued since January 2020 as you can see here. We are deprecating Python 2.7 support to make sure our product remains secure and compliant with the Autodesk Security Guidelines. -
I need to continue using Python 2.7, what should I do?
We cannot guarantee that your tools will continue to work with ShotGrid. For instance, trying to use Python 2.7 with a version of our Python API or Toolkit released after April 30th 2024 will probably break. We highly recommend to update to Python 3 as soon as possible otherwise you will not be able to update to any new version of Toolkit or Python API after April 2024.
- And I also I prefer to use an older version of SG Desktop prior to v1.8.0, is that ok?
With Python 2.7 and to prevent unexpected disturbances, we released the tk-framework-desktopstartup v2.1.24 which prevents the Desktop component from being auto-updated. Again, we cannot guarantee that your tools will continue to work with ShotGrid if you are still using Python 2.7.
-
What are the supported versions of Python 3 currently?
We officially support Python 3.7, 3.9 and 3.10. -
I updated to the new version of ShotGrid Desktop (v1.8.0+) and my scripts based on Python 2.7 stopped working, what should I do?
You will have to update your scripts to use any of the supported versions of Python 3 -
I updated to Python 3 as required but I’m now having some unexpected errors, is this normal?
This is not expected so please open a case with support and include all specific configuration details in the case. Make sure you also check for any breaking changes in Python 3 that might impact your tool (Read more about Python 3 Porting Best Practices here). -
Will you still support DCCs running Python 2?
On May 1st, 2024, we will no longer support DCC versions running Python 2. This includes but is not limited to:
- Houdini version earlier 18.5 (for 18.5, only the py3 edition will be supported)
- Maya versions earlier than 2022
- Nuke version earlier than 13
Don’t hesitate to reply here if you have any questions, or reach out to our support team.
The ShotGrid Team