Python 3.13 and 3.14 Now Available on Vercel
Vercel has expanded its Python runtime support for Builds and Functions, now offering Python 3.13 and Python 3.14 alongside the previously supported Python 3.12. This allows developers to leverage the latest Python features and improvements for their serverless workloads.
Default Runtime Transition
Projects without an explicitly specified Python version will continue using Python 3.12 as the default for now. However, the default will switch to Python 3.14 in the coming months. Developers who need to maintain Python 3.12 should proactively specify their required version in their project manifest to avoid unexpected runtime changes.
How to Pin Your Python Version
To lock your project to Python 3.12, specify the version constraint in your project configuration:
- For
pyproject.toml: Addrequires-python = "~=3.12.0"under the[project]section - For
Pipfile: Addpython_version = "3.12"under the[requires]section
Refer to Vercel's Python documentation for additional configuration details and best practices.