Skip to content

Commit c4187f6

Browse files
authored
fix(appengine): update all app engine samples to latest Python (#13612)
* fix(appengine): update all app engine samples to latest Python Python 3.9 is EOL, new deployments will error, with the message saying to update to the latest Python runtime. b/452455170 * cgi dropped in py313, make this sample use py312 for now * cloudsql binary not installing on py313, try latest version just in case * bump sqlalchemy to avoid import typing error * mail package also uses cgi, pull back to py312
1 parent 19d89b8 commit c4187f6

File tree

22 files changed

+23
-23
lines changed

22 files changed

+23
-23
lines changed

appengine/standard_python3/bigquery/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313

appengine/standard_python3/building-an-app/building-an-app-2/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616

1717
handlers:
1818
# This configures Google App Engine to serve the files in the app's static

appengine/standard_python3/building-an-app/building-an-app-3/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616

1717
handlers:
1818
# This configures Google App Engine to serve the files in the app's static

appengine/standard_python3/building-an-app/building-an-app-4/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616

1717
handlers:
1818
# This configures Google App Engine to serve the files in the app's static

appengine/standard_python3/bundled-services/blobstore/django/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717

1818
handlers:

appengine/standard_python3/bundled-services/blobstore/flask/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717

1818
handlers:

appengine/standard_python3/bundled-services/blobstore/wsgi/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717

1818
handlers:

appengine/standard_python3/bundled-services/deferred/django/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717
env_variables:
1818
NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: "True"

appengine/standard_python3/bundled-services/deferred/flask/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717
env_variables:
1818
NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: "True"

appengine/standard_python3/bundled-services/deferred/wsgi/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
runtime: python39
15+
runtime: python313
1616
app_engine_apis: true
1717
env_variables:
1818
NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: "True"

0 commit comments

Comments
 (0)