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.
1) 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.
2) I need to continue using Python 2.7, what should I do?
We cannot guarantee that your tools will continue to work with ShotGrid. 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.
3) I prefer to use an older version of SG Desktop prior to v1.8.0, is that ok?
In the case where you use it 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.
4) What are the supported versions of Python 3 currently?
We officially support both Python 3.7 and 3.9.
5) 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
6) 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).
Don’t hesitate to reply here if you have any questions, or reach out to our support team.
The ShotGrid Ecosystem Team