Skip to content

Commit 391c1a3

Browse files
authored
chore: remove references to Python 3.7-3.9 (#17199)
Drops support for Python 3.7, 3.8, and 3.9 and aligns EOL documentation versions accordingly. ### Changes * **Corrected EOL Documentation**: * `README.rst` updated based on synthtool revisions to declare Supported Python Versions as `>= 3.10, including 3.14` and Unsupported Python Versions as `<= 3.9`. * Cleaned up `CONTRIBUTING.rst` to remove EOL references, update standard CPython support ranges, align system/sample test run commands to `3.14` (e.g., `system-3.14`), and update the global Python 3 baseline statement to `3.10`.
1 parent 229e2f5 commit 391c1a3

3 files changed

Lines changed: 12 additions & 16 deletions

File tree

packages/google-cloud-datastore/CONTRIBUTING.rst

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
25+
3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.8 -- -k <name of test>
146+
$ nox -s system-3.10 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8.
151+
System tests are only configured to run under Python 3.10.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -220,11 +220,11 @@ configure them just like the System Tests.
220220

221221
# Run all tests in a folder
222222
$ cd samples/snippets
223-
$ nox -s py-3.8
223+
$ nox -s py-3.10
224224

225225
# Run a single sample test
226226
$ cd samples/snippets
227-
$ nox -s py-3.8 -- -k <name of test>
227+
$ nox -s py-3.10 -- -k <name of test>
228228

229229
********************************************
230230
Note About ``README`` as it pertains to PyPI
@@ -246,18 +246,12 @@ Supported Python Versions
246246

247247
We support:
248248

249-
- `Python 3.7`_
250-
- `Python 3.8`_
251-
- `Python 3.9`_
252249
- `Python 3.10`_
253250
- `Python 3.11`_
254251
- `Python 3.12`_
255252
- `Python 3.13`_
256253
- `Python 3.14`_
257254

258-
.. _Python 3.7: https://docs.python.org/3.7/
259-
.. _Python 3.8: https://docs.python.org/3.8/
260-
.. _Python 3.9: https://docs.python.org/3.9/
261255
.. _Python 3.10: https://docs.python.org/3.10/
262256
.. _Python 3.11: https://docs.python.org/3.11/
263257
.. _Python 3.12: https://docs.python.org/3.12/
@@ -270,7 +264,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
270264
.. _config: https://github.com/googleapis/google-cloud-python/blob/main/noxfile.py
271265

272266

273-
We also explicitly decided to support Python 3 beginning with version 3.7.
267+
We also explicitly decided to support Python 3 beginning with version 3.10.
274268
Reasons for this include:
275269

276270
- Encouraging use of newest versions of Python 3

packages/google-cloud-datastore/README.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ 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
73+
7374

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ 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
73+
7374

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

0 commit comments

Comments
 (0)