[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eUpgrading to the latest supported runtime version is crucial for ongoing security updates and technical support eligibility.\u003c/p\u003e\n"],["\u003cp\u003ePython 2.7 applications must be migrated to a supported Python version, as Python 2.7 reached its end of support on January 31, 2024, and redeployment may be blocked after the support end date.\u003c/p\u003e\n"],["\u003cp\u003eFor upgrading apps on second-generation Python runtimes, the \u003ccode\u003eapp.yaml\u003c/code\u003e file must be updated with the desired supported Python version, such as specifying \u003ccode\u003e312\u003c/code\u003e for Python 3.12.\u003c/p\u003e\n"]]],[],null,["# Upgrade an existing application\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nYou must upgrade your applications to the [latest supported runtime version](/appengine/docs/standard/lifecycle/support-schedule#python) to continue receiving security updates and be eligible for\ntechnical support.\n\nThe process of upgrading an existing app depends on the runtime version that\nyour app currently uses:\n\n- **Python 2.7 (first-generation runtime)** : You must migrate your app to the [latest supported Python version](/appengine/docs/standard/lifecycle/support-schedule#python). Python 2.7 has reached [end of support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) on January 31, 2024. Your\n existing Python 2.7 applications will continue to run and receive traffic. However,\n App Engine might block re-deployment of applications that use runtimes\n [after their end of support date](/appengine/docs/standard/lifecycle/support-schedule#python).\n To migrate from Python 2.7 to the latest supported version of Python, see\n [Migrate to the Python 3 runtime](/appengine/migration-center/standard/migrate-to-second-gen/python-differences).\n\n- **Python second-generation runtimes (after end of support)** : To upgrade to a\n [supported version of Python](/appengine/docs/standard/lifecycle/support-schedule#python),\n update the `app.yaml` file by specifying a version of Python that you\n want your app to run. For example:\n\n runtime: python\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e\n\n Where \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e is the Python `MAJOR` and `MINOR` version numbers.\n For example, to use the latest Python version, Python 3.13,\n specify `313`.\n For more information, see the\n [Python runtime overview](/appengine/docs/standard/python3/runtime)."]]