Skip to content

Commit e47bd34

Browse files
fix(spanner): drop support for Python 3.9
Python 3.9 is EOL and missing from the Kokoro test image, causing nightly failures. - Remove "3.9" from noxfile.py ALL_PYTHON and sessions - Remove "3.9" from setup.py classifiers and update python_requires to >=3.10 BREAKING CHANGE: Python 3.9 is no longer supported. Minimum supported version is now 3.10.
1 parent 866e9da commit e47bd34

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

packages/google-cloud-spanner/noxfile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.12"]
3232

3333
ALL_PYTHON: List[str] = [
34-
"3.9",
3534
"3.10",
3635
"3.11",
3736
"3.12",
@@ -71,7 +70,6 @@
7170
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
7271

7372
nox.options.sessions = [
74-
"unit-3.9",
7573
"unit-3.10",
7674
"unit-3.11",
7775
"unit-3.12",

packages/google-cloud-spanner/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"License :: OSI Approved :: Apache Software License",
8787
"Programming Language :: Python",
8888
"Programming Language :: Python :: 3",
89-
"Programming Language :: Python :: 3.9",
9089
"Programming Language :: Python :: 3.10",
9190
"Programming Language :: Python :: 3.11",
9291
"Programming Language :: Python :: 3.12",
@@ -97,7 +96,7 @@
9796
],
9897
platforms="Posix; MacOS X; Windows",
9998
packages=packages,
100-
python_requires=">=3.9",
99+
python_requires=">=3.10",
101100
install_requires=dependencies,
102101
extras_require=extras,
103102
include_package_data=True,

0 commit comments

Comments
 (0)