From e6a5ff1c008d93040cca69c0e3fbf27bb0d5d9a0 Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 22 Oct 2026 10:58:01 -0600 Subject: [PATCH 1/2] [eMudhra 53119][Python] Move the App Engine example from python38 to python313 The python38 runtime is EOL and runs on Ubuntu 18.04 (bionic), which has no fixed ca-certificates package. Flask<2 does not import on Python 3.13 (Jinja2 2.x vs MarkupSafe), so the example's Flask range moves to >=3.1.3,<4, matching requirements/adapter_dev.txt. Co-Authored-By: Claude --- examples/google_app_engine/flask/app.yaml | 2 +- examples/google_app_engine/flask/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/google_app_engine/flask/app.yaml b/examples/google_app_engine/flask/app.yaml index dfe7de530..a58d41076 100644 --- a/examples/google_app_engine/flask/app.yaml +++ b/examples/google_app_engine/flask/app.yaml @@ -1,4 +1,4 @@ -runtime: python38 +runtime: python313 inbound_services: - warmup diff --git a/examples/google_app_engine/flask/requirements.txt b/examples/google_app_engine/flask/requirements.txt index 6b56c96ae..4d01e193f 100644 --- a/examples/google_app_engine/flask/requirements.txt +++ b/examples/google_app_engine/flask/requirements.txt @@ -1,2 +1,2 @@ slack_bolt -Flask>=1.1,<2 \ No newline at end of file +Flask>=3.1.3,<4 \ No newline at end of file From 8eb0eec42999d114b44e2c11c87a5376562d8b7e Mon Sep 17 00:00:00 2001 From: David Reed Date: Thu, 22 Oct 2026 11:52:40 -0600 Subject: [PATCH 2/2] [eMudhra 53119][Python] Narrow: move App Engine example to python311, keep Flask pin python311 is the oldest App Engine Python runtime that is still in support and on Ubuntu 22.04, which has the fixed ca-certificates package. python39 is on Ubuntu 18.04, and python310 reached end of support on 2026-10-04. Revert the Flask 1 -> 3 bump: Flask<2 already fails to import on python38 today (current MarkupSafe has no soft_unicode), so that breakage is unrelated to the runtime move. Co-Authored-By: Claude --- examples/google_app_engine/flask/app.yaml | 2 +- examples/google_app_engine/flask/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/google_app_engine/flask/app.yaml b/examples/google_app_engine/flask/app.yaml index a58d41076..ecc2ab272 100644 --- a/examples/google_app_engine/flask/app.yaml +++ b/examples/google_app_engine/flask/app.yaml @@ -1,4 +1,4 @@ -runtime: python313 +runtime: python311 inbound_services: - warmup diff --git a/examples/google_app_engine/flask/requirements.txt b/examples/google_app_engine/flask/requirements.txt index 4d01e193f..6b56c96ae 100644 --- a/examples/google_app_engine/flask/requirements.txt +++ b/examples/google_app_engine/flask/requirements.txt @@ -1,2 +1,2 @@ slack_bolt -Flask>=3.1.3,<4 \ No newline at end of file +Flask>=1.1,<2 \ No newline at end of file