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

Commit 87b00d1

Browse files
Remove support for Python 3.8
This commit removes Python 3.8 from the supported versions. Updates include changes in noxfiles, GitHub workflows, setup.py, Kokoro configurations, and documentation to reflect Python 3.9 as the minimum supported version.
1 parent 76e6d11 commit 87b00d1

13 files changed

Lines changed: 8 additions & 111 deletions

File tree

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ branchProtectionRules:
1111
- 'OwlBot Post Processor'
1212
- 'docs'
1313
- 'lint'
14-
- 'unit (3.8)'
1514
- 'unit (3.9)'
1615
- 'unit (3.10)'
1716
- 'unit (3.11)'
@@ -20,7 +19,6 @@ branchProtectionRules:
2019
- 'cover'
2120
- 'Kokoro'
2221
- 'Samples - Lint'
23-
- 'Samples - Python 3.8'
2422
- 'Samples - Python 3.9'
2523
- 'Samples - Python 3.10'
2624
- 'Samples - Python 3.11'

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
14+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.kokoro/presubmit/system-3.8.cfg

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

.kokoro/samples/python3.8/common.cfg

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

.kokoro/samples/python3.8/continuous.cfg

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

.kokoro/samples/python3.8/periodic-head.cfg

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

.kokoro/samples/python3.8/periodic.cfg

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

.kokoro/samples/python3.8/presubmit.cfg

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

CONTRIBUTING.rst

Lines changed: 3 additions & 5 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.8, 3.9, 3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows.
25+
3.9, 3.10, 3.11, 3.12 and 3.13 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
@@ -148,7 +148,7 @@ Running System Tests
148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13.
151+
System tests are only configured to run under Python 3.9, 3.10, 3.11, 3.12 and 3.13.
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
@@ -221,14 +221,12 @@ Supported Python Versions
221221

222222
We support:
223223

224-
- `Python 3.8`_
225224
- `Python 3.9`_
226225
- `Python 3.10`_
227226
- `Python 3.11`_
228227
- `Python 3.12`_
229228
- `Python 3.13`_
230229

231-
.. _Python 3.8: https://docs.python.org/3.8/
232230
.. _Python 3.9: https://docs.python.org/3.9/
233231
.. _Python 3.10: https://docs.python.org/3.10/
234232
.. _Python 3.11: https://docs.python.org/3.11/
@@ -241,7 +239,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
241239
.. _config: https://github.com/googleapis/python-bigquery-pandas/blob/main/noxfile.py
242240

243241

244-
We also explicitly decided to support Python 3 beginning with version 3.8.
242+
We also explicitly decided to support Python 3 beginning with version 3.9.
245243
Reasons for this include:
246244

247245
- Encouraging use of newest versions of Python 3

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
DEFAULT_PYTHON_VERSION = "3.10"
3636

3737

38-
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
38+
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
3939
UNIT_TEST_STANDARD_DEPENDENCIES = [
4040
"mock",
4141
"asyncmock",
@@ -57,7 +57,7 @@
5757
"3.9": [],
5858
}
5959

60-
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
60+
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
6161
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
6262
"mock",
6363
"pytest",

0 commit comments

Comments
 (0)