Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b4fa220

Browse filesBrowse files
authored
fix(google-auth-httplib2): Drop support for Python 3.7, 3.8, and 3.9 (#16937)
This PR updates `google-auth-httplib2` to establish Python 3.10 as the minimum supported version, dropping support for Python 3.9 and below. ### Changes * Configuration: Updated `setup.py` and `noxfile.py` to require Python 3.10+ and remove references to Python 3.9. * Cleanup: Removed Python 3.7 deprecation warning in `pytest.ini`. * Constraints: Updated `constraints-3.10.txt` with minimum versions from `constraints-3.9.txt` and deleted `constraints-3.9.txt`. Fixes internal issue: http://b/482126936 🦕
1 parent 93e063e commit b4fa220
Copy full SHA for b4fa220

5 files changed

+11-15Lines changed: 11 additions & 15 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/google-auth-httplib2/noxfile.py‎

Copy file name to clipboardExpand all lines: packages/google-auth-httplib2/noxfile.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
DEFAULT_PYTHON_VERSION = "3.14"
3535

3636
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
37-
"3.9",
3837
"3.10",
3938
"3.11",
4039
"3.12",
@@ -57,7 +56,7 @@
5756
UNIT_TEST_EXTRAS: List[str] = []
5857
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
5958

60-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9"]
59+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"]
6160
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
6261
"mock",
6362
"pytest",
Collapse file

‎packages/google-auth-httplib2/pytest.ini‎

Copy file name to clipboardExpand all lines: packages/google-auth-httplib2/pytest.ini
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
filterwarnings =
33
# treat all warnings as errors
44
error
5-
# Remove after support for Python 3.7 is dropped
6-
ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning
75
ignore:.*Please upgrade to the latest Python version.*:FutureWarning
86
ignore:(?s).*using a Python version.*past its end of life.*:FutureWarning
Collapse file

‎packages/google-auth-httplib2/setup.py‎

Copy file name to clipboardExpand all lines: packages/google-auth-httplib2/setup.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@
3636
long_description=long_description,
3737
url="https://github.com/googleapis/google-cloud-python/packages/google-auth-httplib2",
3838
py_modules=["google_auth_httplib2"],
39-
python_requires=">=3.9",
39+
python_requires=">=3.10",
4040
install_requires=DEPENDENCIES,
4141
license="Apache 2.0",
4242
keywords="google auth oauth client",
4343
classifiers=[
4444
"Programming Language :: Python :: 3",
45-
"Programming Language :: Python :: 3.9",
4645
"Programming Language :: Python :: 3.10",
4746
"Programming Language :: Python :: 3.11",
4847
"Programming Language :: Python :: 3.12",
Collapse file
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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.
5+
#
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+
google-auth==1.32.0
9+
httplib2==0.19.0
Collapse file

‎packages/google-auth-httplib2/testing/constraints-3.9.txt‎

Copy file name to clipboardExpand all lines: packages/google-auth-httplib2/testing/constraints-3.9.txt
-9Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.