Python 3.13 与 3.14 已在 Vercel 正式可用

1 分钟阅读
2026 年 2 月 2 日


Vercel 的 Builds 和 Functions 现已支持 Python 3.13 与 Python 3.14,同时继续支持此前的 Python 3.12。对于未指定 Python 版本的项目,目前仍默认使用 Python 3.12。
在接下来的几个月里,默认版本将切换为 Python 3.14。若你希望继续使用 Python 3.12,请在项目清单文件(pyproject.toml 或 Pipfile)中按下方示例设置版本上限。
pyproject.toml
[project]...requires-python = "~=3.12.0"
在 pyproject.toml 中指定 Python 版本
Pipfile
[requires]...python_version = "3.12"
在 Pipfile 中指定 Python 版本
查看 Python documentation 了解 Vercel 对 Python 的更多支持细节。
原文链接:https://vercel.com/changelog/python-3-13-and-3-14-are-now-available

