Drop Python 3.9 support

Python 3.9 reached its official End-of-Life (EOL) on October 31, 2025
https://devguide.python.org/versions/

PiperOrigin-RevId: 854341311
This commit is contained in:
Jie Luo 2026-01-09 14:18:02 -08:00 committed by Copybara-Service
parent 0262bd688a
commit bbc9dd9e8a
10 changed files with 26 additions and 107 deletions

View file

@ -28,7 +28,7 @@ jobs:
fail-fast: false # Don't cancel all jobs if one fails.
matrix:
type: [ Pure, C++]
version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
include:
- type: Pure
targets: //python/... //python:python_version_test
@ -37,10 +37,6 @@ jobs:
targets: //python/... //python:python_version_test
flags: --define=use_fast_cpp_protos=true
# Test using WORKSPACE with our oldest support Python version.
- version: "3.9"
nobzlmod: true
# Our 3.9 image has non-hermetic issues and can't be rebuilt. Use the old version.
image: us-docker.pkg.dev/protobuf-build/containers/test/linux/python:7.6.1-3.9-12e21b8dda91028bc14212a3ab582c7c4d149fac
- version: "3.10"
- version: "3.11"
continuous-only: true