Get python back a minor version 3.12->3.11
The previous bump to 3.12 generated a pip error [1] on gae-deploy builder. Looking up the failing grpcio wheel [2] we found no version for python 3.12 but we were able to find one for 3.11.
[1] https://logs.chromium.org/logs/infradata-gae/buildbucket/cr-buildbucket/8730733229235940657/+/u/actuating_chrome-devtools-frontend-stg/deploying/stdout
[2] https://chromium.googlesource.com/infra/infra/+/HEAD/infra/tools/dockerbuild/wheels.md#Wheel-List-grpcio
Bug: 379873138
Change-Id: Idaeec9ac48636b12057c8d77b9acda87353ebebd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/chrome-devtools-frontend/+/6039767
Commit-Queue: Liviu Rau <[email protected]>
Reviewed-by: Michael Achenbach <[email protected]>
diff --git a/gae_py3/.vpython3 b/gae_py3/.vpython3
index 74636f6..f0093df 100644
--- a/gae_py3/.vpython3
+++ b/gae_py3/.vpython3
@@ -7,13 +7,13 @@
# Run `./tools/generate_requirements_txt.py` after modifying this file.
-python_version: "3.12"
+python_version: "3.11"
# The default set of platforms vpython checks for
verify_pep425_tag: [
- {python: "cp312", abi: "cp312", platform: "manylinux1_x86_64"},
- {python: "cp312", abi: "cp312", platform: "linux_arm64"}
+ {python: "cp311", abi: "cp311", platform: "manylinux1_x86_64"},
+ {python: "cp311", abi: "cp311", platform: "linux_arm64"}
]
# Flask and its transitive dependencies
@@ -173,12 +173,12 @@
wheel: <
name: "infra/python/wheels/grpcio/${vpython_platform}"
- version: "version:1.44.0"
+ version: "version:1.57.0"
>
wheel: <
name: "infra/python/wheels/grpcio-status-py3"
- version: "version:1.44.0"
+ version: "version:1.59.3"
>
# Pytest and its transitive dependencies
diff --git a/gae_py3/app.yaml b/gae_py3/app.yaml
index f49f3b0..67958be 100644
--- a/gae_py3/app.yaml
+++ b/gae_py3/app.yaml
@@ -1,4 +1,4 @@
-runtime: python312
+runtime: python311
instance_class: F4