Skip to content

Commit 3c13d79

Browse files
committed
feat(spanner): drop support for python 3.9
1 parent 7cdbe72 commit 3c13d79

6 files changed

Lines changed: 6 additions & 23 deletions

File tree

packages/google-cloud-spanner/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ Supported Python Versions
6262
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
6363
Python.
6464

65-
Python >= 3.9, including 3.14
65+
Python >= 3.10, including 3.14
6666

6767
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6868
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
6969

7070
Unsupported Python Versions
7171
^^^^^^^^^^^^^^^^^^^^^^^^^^^
72-
Python <= 3.8
72+
Python <= 3.9
7373

7474
If you are using an `end-of-life`_
7575
version of Python, we recommend that you update as soon as possible to an actively supported version.

packages/google-cloud-spanner/docs/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ Supported Python Versions
6262
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
6363
Python.
6464

65-
Python >= 3.9, including 3.14
65+
Python >= 3.10, including 3.14
6666

6767
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
6868
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
6969

7070
Unsupported Python Versions
7171
^^^^^^^^^^^^^^^^^^^^^^^^^^^
72-
Python <= 3.8
72+
Python <= 3.9
7373

7474
If you are using an `end-of-life`_
7575
version of Python, we recommend that you update as soon as possible to an actively supported version.

packages/google-cloud-spanner/noxfile.py

Lines changed: 0 additions & 1 deletion
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",

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,

packages/google-cloud-spanner/testing/constraints-3.9.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/google-cloud-spanner/tests/unit/gapic/spanner_v1/test_spanner.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2783,9 +2783,7 @@ async def test_list_sessions_async_pages():
27832783
RuntimeError,
27842784
)
27852785
pages = []
2786-
# Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
2787-
# See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
2788-
async for page_ in ( # pragma: no branch
2786+
async for page_ in (
27892787
await client.list_sessions(request={})
27902788
).pages:
27912789
pages.append(page_)

0 commit comments

Comments
 (0)