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

Commit 95354e9

Browse files
authored
deps: drop support for Python 3.7 and 3.8
1 parent e796b7c commit 95354e9

6 files changed

Lines changed: 23 additions & 42 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ dependencies.
5252

5353
Supported Python Versions
5454
^^^^^^^^^^^^^^^^^^^^^^^^^
55-
Python >= 3.7
55+
Python >= 3.9
5656

5757
Unsupported Python Versions
5858
^^^^^^^^^^^^^^^^^^^^^^^^^^^
59-
Python == 3.5, Python == 3.6.
59+
Python <= 3.8.
6060

6161

6262
Mac/Linux

owlbot.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
extras_bf = ["bqstorage", "bigframes", "geopandas"]
3333
extras_spanner = ["spanner-graph-notebook"]
3434
extras_by_python = {
35-
"3.7": extras_storage,
36-
"3.8": extras_storage,
3735
"3.9": extras_bf,
3836
"3.10": extras_bf,
3937
# Use a middle version of Python to test when no extras are installed.
@@ -42,8 +40,8 @@
4240
"3.13": extras_bf,
4341
}
4442
templated_files = common.py_library(
45-
unit_test_python_versions=["3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
46-
system_test_python_versions=["3.8", "3.11", "3.12", "3.13"],
43+
unit_test_python_versions=["3.9", "3.11", "3.12", "3.13"],
44+
system_test_python_versions=["3.9", "3.11", "3.12", "3.13"],
4745
cov_level=100,
4846
unit_test_extras_by_python=extras_by_python,
4947
unit_test_external_dependencies=["google-cloud-testutils"],

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"ipython>=7.23.1",
3535
"ipykernel>=5.5.6",
3636
"packaging >= 20.0.0",
37-
"pandas>=1.1.0",
37+
"pandas>=1.2.0",
3838
"pyarrow >= 3.0.0",
3939
"pydata-google-auth >=1.5.0",
4040
"tqdm >= 4.7.4, <5.0.0",
@@ -105,20 +105,19 @@
105105
"License :: OSI Approved :: Apache Software License",
106106
"Programming Language :: Python",
107107
"Programming Language :: Python :: 3",
108-
"Programming Language :: Python :: 3.7",
109-
"Programming Language :: Python :: 3.8",
110108
"Programming Language :: Python :: 3.9",
111109
"Programming Language :: Python :: 3.10",
112110
"Programming Language :: Python :: 3.11",
113111
"Programming Language :: Python :: 3.12",
112+
"Programming Language :: Python :: 3.13",
114113
"Operating System :: OS Independent",
115114
"Topic :: Internet",
116115
],
117116
platforms="Posix; MacOS X; Windows",
118117
packages=packages,
119118
install_requires=dependencies,
120119
extras_require=extras,
121-
python_requires=">=3.7",
120+
python_requires=">=3.9",
122121
include_package_data=True,
123122
zip_safe=False,
124123
)

testing/constraints-3.7.txt

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

testing/constraints-3.8.txt

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

testing/constraints-3.9.txt

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
# IMPORTANT: When Python 3.8 support is dropped, update these to
2-
# match the minimums in setup.py.
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py
3+
# List *all* library dependencies and extras in this file.
4+
# Pin the version to the lower bound.
35
#
4-
# We try to test across major versions of our dependencies.
5-
# This is the last pandas 2.0.x release.
6-
pandas==2.0.3
7-
bigframes==1.17.0
8-
geopandas==1.0.1
6+
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7+
# Then this file should have foo==1.14.0
8+
db-dtypes==0.3.0
9+
google-cloud-bigquery==3.13.0
10+
google-cloud-bigquery-storage==2.6.0
11+
ipywidgets==7.7.1
12+
ipython==7.23.1
13+
ipykernel==5.5.6
14+
pandas==1.2.0
15+
pyarrow==3.0.0
16+
pydata-google-auth==1.5.0
17+
tqdm==4.7.4

0 commit comments

Comments
 (0)