Skip to main content
 首页 » 编程设计

python之Google App Engine 中的 Python 2 标准环境是否即将被弃用/关闭

2025年05月04日27luoye11

我在 Google App Engine 中将许多项目部署到 Python 2 标准环境,开始担心 2020 年 1 月 1 日之后 P​​ython 2 将不再维护时会发生什么。

如果 Google 打算在 App Engine 中长期保留 Python 2 标准环境,是否会提供一些提示?还是我应该开始迁移?在某些项目中,由于 ndb 和其他任何地方都不支持的谷歌库,迁移会很痛苦。

请您参考如下方法:

我最近遇到了 this post from Google on the GAE Google Group解决这个问题:

You needn't fear for the Python 2.7 apps already deployed. 2020 is not as critical a date as may appear at first sight. Python 2.7 will get support for the benefit of existing Google App Engine (GAE) customers using Python 2.7 well beyond this date.

Everyone is equally aware of difficulties faced by those who migrate a Python 2.7 GAE application to the 3.x series. Quite a few tools and infrastructure adjustments will facilitate this task, so developers should not feel too concerned. A smooth transition is in everyone's interest.

看来我们不需要着急(谢天谢地!)。