From ef6fd5892cfecab3fc77d68abc773537a0b0986d Mon Sep 17 00:00:00 2001 From: ohmayr Date: Thu, 30 Oct 2025 23:43:18 +0000 Subject: [PATCH 1/8] chore: fix kokoro tests --- .github/workflows/unittest.yml | 2 +- noxfile.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index c66b757c..20bda9f3 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -58,4 +58,4 @@ jobs: run: | find .coverage-results -type f -name '*.zip' -exec unzip {} \; coverage combine .coverage-results/**/.coverage* - coverage report --show-missing --fail-under=100 + coverage report --show-missing --fail-under=99 \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 7fcab220..d90bc4a3 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] -DEFAULT_PYTHON_VERSION = "3.8" +DEFAULT_PYTHON_VERSION = "3.9" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ "3.7", @@ -75,7 +75,11 @@ CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() nox.options.sessions = [ - "unit", + "unit-3.9", + "unit-3.10", + "unit-3.11", + "unit-3.12", + "unit-3.13", "system", "mypy", "cover", From c9747c8f4df72a94aa7b3cc78cfce86160a008de Mon Sep 17 00:00:00 2001 From: ohmayr Date: Thu, 30 Oct 2025 23:44:18 +0000 Subject: [PATCH 2/8] revert unittest.yml --- .github/workflows/unittest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 20bda9f3..c66b757c 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -58,4 +58,4 @@ jobs: run: | find .coverage-results -type f -name '*.zip' -exec unzip {} \; coverage combine .coverage-results/**/.coverage* - coverage report --show-missing --fail-under=99 \ No newline at end of file + coverage report --show-missing --fail-under=100 From 79285c6773ec9069eed01f65908f1efd507c1857 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Thu, 30 Oct 2025 23:52:12 +0000 Subject: [PATCH 3/8] update unit tests versions --- owlbot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index cbb0f8ae..7c1b0647 100644 --- a/owlbot.py +++ b/owlbot.py @@ -215,7 +215,11 @@ def docfx(session): s.replace( "noxfile.py", """nox.options.sessions = \[ - "unit", + "unit-3.9", + "unit-3.10", + "unit-3.11", + "unit-3.12", + "unit-3.13", "system",""", """nox.options.sessions = [ "unit", From 489f8683bc838016354a566549c62e6c5b6e50be Mon Sep 17 00:00:00 2001 From: ohmayr Date: Thu, 30 Oct 2025 23:53:55 +0000 Subject: [PATCH 4/8] update default version --- owlbot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owlbot.py b/owlbot.py index 7c1b0647..f2d7cd93 100644 --- a/owlbot.py +++ b/owlbot.py @@ -99,6 +99,8 @@ def get_staging_dirs( templated_files = common.py_library( microgenerator=True, split_system_tests=True, + default_python_version="3.13", + system_test_python_versions=["3.13"], # six required by (but not installed by) google-cloud-core < v2.0.0 unit_test_external_dependencies=["six"], system_test_external_dependencies=["six"], From 0139e03f56590be7ceb36cc03dbe1424c253de5e Mon Sep 17 00:00:00 2001 From: ohmayr Date: Thu, 30 Oct 2025 23:57:07 +0000 Subject: [PATCH 5/8] fix replacement --- owlbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/owlbot.py b/owlbot.py index f2d7cd93..900056cf 100644 --- a/owlbot.py +++ b/owlbot.py @@ -217,14 +217,14 @@ def docfx(session): s.replace( "noxfile.py", """nox.options.sessions = \[ + "unit", + "system",""", + """nox.options.sessions = [ "unit-3.9", "unit-3.10", "unit-3.11", "unit-3.12", "unit-3.13", - "system",""", - """nox.options.sessions = [ - "unit", "system", "mypy",""", ) From 5397db3b47cd777ba93e6a6f62f6379e6c67a163 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Fri, 31 Oct 2025 00:00:32 +0000 Subject: [PATCH 6/8] revert manual update of noxfile --- noxfile.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/noxfile.py b/noxfile.py index d90bc4a3..7fcab220 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] -DEFAULT_PYTHON_VERSION = "3.9" +DEFAULT_PYTHON_VERSION = "3.8" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ "3.7", @@ -75,11 +75,7 @@ CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() nox.options.sessions = [ - "unit-3.9", - "unit-3.10", - "unit-3.11", - "unit-3.12", - "unit-3.13", + "unit", "system", "mypy", "cover", From de287785278919fcbfe6844f86ac80f9b1b1e085 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Fri, 31 Oct 2025 00:04:30 +0000 Subject: [PATCH 7/8] chore: test --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 7fcab220..134990f6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] -DEFAULT_PYTHON_VERSION = "3.8" +DEFAULT_PYTHON_VERSION = "3.10" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ "3.7", From b8de89858a62e834351a6768774094a05aa6cedf Mon Sep 17 00:00:00 2001 From: ohmayr Date: Fri, 31 Oct 2025 00:07:25 +0000 Subject: [PATCH 8/8] update python version --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/unittest.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2833fe98..f1a43e7a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193a..9a059820 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.8" + python-version: "3.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 3915cddd..f2b78a53 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.13" - 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 c66b757c..32b62799 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.8" + python-version: "3.13" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel