Skip to content

Commit 4c62551

Browse files
committed
tests: fix build
1 parent a1124fc commit 4c62551

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/google-auth/noxfile.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
"3.13",
4242
"3.14",
4343
]
44+
ALL_PYTHON = UNIT_TEST_PYTHON_VERSIONS
45+
ALL_PYTHON.extend(["3.7"])
4446

4547
# Error if a python version is missing
4648
nox.options.error_on_missing_interpreters = True
@@ -105,8 +107,15 @@ def mypy(session):
105107
session.run("mypy", "-p", "google", "-p", "tests", "-p", "tests_async")
106108

107109

108-
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
110+
@nox.session(python=ALL_PYTHON)
109111
def unit(session):
112+
# Install all test dependencies, then install this package in-place.
113+
114+
if session.python in (
115+
"3.7",
116+
):
117+
session.skip("Python 3.7 is no longer supported")
118+
110119
constraints_path = str(
111120
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
112121
)

0 commit comments

Comments
 (0)