From 35c9207b75a69a2bc89eaf65564e8114c7565c28 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 13 Jan 2026 19:27:51 +0000 Subject: [PATCH 1/3] tests: update default python runtime for tests to 3.14 --- .github/workflows/lint.yml | 2 +- .github/workflows/unittest.yml | 2 +- noxfile.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1051da0..3ed755f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.14" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 01978ba..04e4113 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.14" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel diff --git a/noxfile.py b/noxfile.py index db042c1..308c325 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"] -DEFAULT_PYTHON_VERSION = "3.10" +DEFAULT_PYTHON_VERSION = "3.14" SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] # TODO(https://github.com/googleapis/google-auth-library-python-oauthlib/issues/410): @@ -385,7 +385,7 @@ def docfx(session): ) -@nox.session(python="3.13") +@nox.session(python=DEFAULT_PYTHON_VERSION) @nox.parametrize( "protobuf_implementation", ["python", "upb", "cpp"], From 78c34843e43623c26dc87a0e4b2c20b6d9ee8b68 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 13 Jan 2026 14:30:03 -0500 Subject: [PATCH 2/3] fix build --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 308c325..f43e3a2 100644 --- a/noxfile.py +++ b/noxfile.py @@ -140,7 +140,7 @@ def format(session): @nox.session(python=DEFAULT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" - session.install("docutils", "pygments") + session.install("docutils", "pygments", "setuptools") session.run("python", "setup.py", "check", "--restructuredtext", "--strict") From 182640013a86063190b776003cee825469e36abc Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Wed, 14 Jan 2026 15:52:54 -0500 Subject: [PATCH 3/3] address feedback --- noxfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index f43e3a2..3fb854a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -33,7 +33,6 @@ LINT_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.14" -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] # TODO(https://github.com/googleapis/google-auth-library-python-oauthlib/issues/410): # Remove or restore testing for Python 3.7/3.8 @@ -248,7 +247,7 @@ def install_systemtest_dependencies(session, *constraints): session.install("-e", ".", *constraints) -@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS) +@nox.session(python=DEFAULT_PYTHON_VERSION) def system(session): """Run the system test suite.""" constraints_path = str(