News

Community support for Python 3.8 ends on October 14 2024; Transition Cognite functions to Python 3.11 before October 1 2024, if applicable

Related products: Functions

Community support for Python 3.8 ends on October 14 2024. While Cognite Functions using Python 3.8 will continue to run after this date, we will no longer provide updates or customer support for this version after October 1 2024. It will also be removed as a supported version from APIs/UI. To avoid service disruptions and potential security vulnerabilities in your functions, we recommend redeploying functions with Python 3.9 or later (Python 3.11 recommended) before October 1 2024.

Currently, the default Python version (runtime) in Cognite Functions is 3.8. If users do not explicitly specify the version while deploying functions, they are deployed with Python 3.8. The default version will be changed from 3.8 to 3.11 on March 11, 2024.

We have also observed in support tickets that function failures often occur due to mismatches between the user's local Python version and the default Python version (runtime) in Cognite functions. To mitigate this issue, we will no longer provide a default Python version in Cognite Functions from March 1 2025, and require users to explicitly select the version.

If you have any questions, ask us on the hub or create a ticket via Cognite support.

Ref :

  1. https://endoflife.date/python
  2. https://devguide.python.org/versions/
Be the first to reply!