Code Repositories now supports Python 3.11

Code Repositories now supports Python 3.11

Code Repositories now supports Python 3.11 for all enrollments. Python 3.11 provides significant performance enhancements such as being “between 10-60% faster than Python 3.10” according to Python documentation.

To access these benefits, you must upgrade your code repositories. We strongly advise keeping your repositories up to date to leverage the latest performance improvements and critical security patches.

Python 3.11 support with boosted performance, TOML parsing, and enhanced typing

Users will now be able to use this version in Python environments, both during Preview and also when the Python transform is running.

Highlights from Python 3.11 include:

  • Significant performance improvements
  • Support for parsing TOML
  • Improved exception information and typing support

To use Python 3.11, users must upgrade repositories and can set the Python environment to use either the recommended version of Python or explicitly select a Python 3.11 release.

Setting the Python environment to a desired version.

Learn more about Code Repositories.