Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit a6c1bf4

Browse files
committed
build: drop support for Python 3.9
1 parent 7982c32 commit a6c1bf4

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

.github/workflows/presubmit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
30+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3131

3232
steps:
3333
- name: Checkout code

.kokoro/presubmit/integration-regular-sessions-enabled.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Only run a subset of all nox sessions
44
env_vars: {
55
key: "NOX_SESSION"
6-
value: "unit-3.9 unit-3.14 system-3.14"
6+
value: "unit-3.14 system-3.14"
77
}
88

99
env_vars: {

.kokoro/presubmit/presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Only run a subset of all nox sessions
44
env_vars: {
55
key: "NOX_SESSION"
6-
value: "unit-3.9 unit-3.12 cover docs docfx"
6+
value: "unit-3.12 cover docs docfx"
77
}

.kokoro/test-samples-impl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export PYTHONUNBUFFERED=1
3535
env | grep KOKORO
3636

3737
# Install nox
38-
python3.9 -m pip install --upgrade --quiet nox
38+
python3.10 -m pip install --upgrade --quiet nox
3939

4040
# Use secrets acessor service account to get secrets
4141
if [[ -f "${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" ]]; then
@@ -88,7 +88,7 @@ for file in samples/**/requirements.txt; do
8888
echo "------------------------------------------------------------"
8989

9090
# Use nox to execute the tests for the project.
91-
python3.9 -m nox -s "$RUN_TESTS_SESSION"
91+
python3.10 -m nox -s "$RUN_TESTS_SESSION"
9292
EXIT=$?
9393

9494
# If this is a periodic build, send the test log to the FlakyBot.

noxfile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.14"]
4343

4444
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
45-
"3.9",
4645
"3.10",
4746
"3.11",
4847
"3.12",
@@ -81,7 +80,6 @@
8180
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
8281

8382
nox.options.sessions = [
84-
"unit-3.9",
8583
"unit-3.10",
8684
"unit-3.11",
8785
"unit-3.12",

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
"License :: OSI Approved :: Apache Software License",
8888
"Programming Language :: Python",
8989
"Programming Language :: Python :: 3",
90-
"Programming Language :: Python :: 3.9",
9190
"Programming Language :: Python :: 3.10",
9291
"Programming Language :: Python :: 3.11",
9392
"Programming Language :: Python :: 3.12",
@@ -99,7 +98,7 @@
9998
packages=packages,
10099
install_requires=dependencies,
101100
extras_require=extras,
102-
python_requires=">=3.9",
101+
python_requires=">=3.10",
103102
include_package_data=True,
104103
zip_safe=False,
105104
)

0 commit comments

Comments
 (0)