Stay organized with collections
Save and categorize content based on your preferences.
You must upgrade your applications to the latest supported runtime version to continue receiving security updates and be eligible for
technical support.
The process of upgrading an existing app depends on the runtime version that
your app currently uses:
Python 2.7 (first-generation runtime): You must migrate your app to the latest supported Python version. Python 2.7 has reached end of support on January 31, 2024. Your
existing Python 2.7 applications will continue to run and receive traffic. However,
App Engine might block re-deployment of applications that use runtimes
after their end of support date.
To migrate from Python 2.7 to the latest supported version of Python, see
Migrate to the Python 3 runtime.
Python second-generation runtimes (after end of support): To upgrade to a
supported version of Python,
update the app.yaml file by specifying a version of Python that you
want your app to run. For example:
runtime:pythonVERSION
Where VERSION is the Python MAJOR and MINOR version numbers.
For example, to use the latest Python version, Python 3.12,
specify 312.
For more information, see the
Python runtime overview.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["Upgrading to the latest supported runtime version is crucial for ongoing security updates and technical support eligibility."],["Python 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."],["For upgrading apps on second-generation Python runtimes, the `app.yaml` file must be updated with the desired supported Python version, such as specifying `312` for Python 3.12."]]],[]]