Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per continuare a ricevere aggiornamenti della sicurezza ed essere idoneo all'assistenza tecnica, devi eseguire l'upgrade delle tue applicazioni alla versione di runtime supportata più recente .
Il processo di upgrade di un'app esistente dipende dalla versione di runtime attualmente utilizzata dall'app:
Python 2.7 (runtime di prima generazione): devi eseguire la migrazione dell'app alla versione di Python supportata più recente. Il 31 gennaio 2024 è terminato il supporto di Python 2.7. Le tue applicazioni Python 2.7 esistenti continueranno a funzionare e a ricevere traffico. Tuttavia,
App Engine potrebbe bloccare il nuovo deployment delle applicazioni che utilizzano i runtime
dopo la data di fine del supporto.
Per eseguire la migrazione da Python 2.7 all'ultima versione supportata di Python, consulta
Eseguire la migrazione al runtime di Python 3.
Runtime di Python di seconda generazione (dopo il termine del supporto): per eseguire l'upgrade a una
versione di Python supportata,
aggiorna il file app.yaml specificando una versione di Python in cui
vuoi che venga eseguita l'app. Ad esempio:
runtime:pythonVERSION
dove VERSION è il numero di versione di Python MAJOR e MINOR.
Ad esempio, per utilizzare la versione più recente di Python, Python 3.13,
specifica 313.
Per ulteriori informazioni, consulta la panoramica del runtime di Python.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\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)."]]