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

Commit d85c1d1

Browse files
deps: Drop support for python 3.9
1 parent 76db295 commit d85c1d1

File tree

4 files changed

+8
-49
lines changed

4 files changed

+8
-49
lines changed

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.9, 3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows.
25+
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.9, 3.11, 3.12 and 3.13.
151+
System tests are only configured to run under Python 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
@@ -258,13 +258,11 @@ Supported Python Versions
258258

259259
We support:
260260

261-
- `Python 3.9`_
262261
- `Python 3.10`_
263262
- `Python 3.11`_
264263
- `Python 3.12`_
265264
- `Python 3.13`_
266265

267-
.. _Python 3.9: https://docs.python.org/3.9/
268266
.. _Python 3.10: https://docs.python.org/3.10/
269267
.. _Python 3.11: https://docs.python.org/3.11/
270268
.. _Python 3.12: https://docs.python.org/3.12/
@@ -276,7 +274,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
276274
.. _config: https://github.com/googleapis/python-bigquery-dataframes/blob/main/noxfile.py
277275

278276

279-
We also explicitly decided to support Python 3 beginning with version 3.9.
277+
We also explicitly decided to support Python 3 beginning with version 3.10.
280278
Reasons for this include:
281279

282280
- Encouraging use of newest versions of Python 3

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# https://cloud.google.com/run/docs/runtimes/python
6565
E2E_TEST_PYTHON_VERSION = "3.12"
6666

67-
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
67+
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
6868
UNIT_TEST_STANDARD_DEPENDENCIES = [
6969
"mock",
7070
"asyncmock",
@@ -89,7 +89,7 @@
8989
# 3.10 is needed for Windows tests as it is the only version installed in the
9090
# bigframes-windows container image. For more information, search
9191
# bigframes/windows-docker, internally.
92-
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
92+
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
9393
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
9494
"jinja2",
9595
"mock",
@@ -129,7 +129,7 @@
129129
# TODO(tswast): Consider removing this when unit_noextras and cover is run
130130
# from GitHub actions.
131131
"unit_noextras",
132-
"system-3.9", # No extras.
132+
"system-3.10", # No extras.
133133
f"system-{LATEST_FULLY_SUPPORTED_PYTHON}", # All extras.
134134
"cover",
135135
# TODO(b/401609005): remove

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# 'Development Status :: 5 - Production/Stable'
3434
release_status = "Development Status :: 5 - Production/Stable"
3535
dependencies = [
36-
# please keep these in sync with the minimum versions in testing/constraints-3.9.txt
36+
# please keep these in sync with the minimum versions in testing/constraints-3.10.txt
3737
"cloudpickle >= 2.0.0",
3838
"fsspec >=2023.3.0",
3939
"gcsfs >=2023.3.0, !=2025.5.0",
@@ -134,7 +134,6 @@
134134
"License :: OSI Approved :: Apache Software License",
135135
"Programming Language :: Python",
136136
"Programming Language :: Python :: 3",
137-
"Programming Language :: Python :: 3.9",
138137
"Programming Language :: Python :: 3.10",
139138
"Programming Language :: Python :: 3.11",
140139
"Programming Language :: Python :: 3.12",
@@ -150,7 +149,7 @@
150149
"bigframes_vendored": "third_party/bigframes_vendored",
151150
},
152151
packages=packages,
153-
python_requires=">=3.9",
152+
python_requires=">=3.10",
154153
include_package_data=True,
155154
zip_safe=False,
156155
)

testing/constraints-3.9.txt

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

0 commit comments

Comments
 (0)