From 12a540b2a4df0dfb524da62ba929cdf05a9e555a Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 22 Oct 2025 13:46:45 -0400 Subject: [PATCH 01/35] feat: Adds Python 3.13 support --- .kokoro/presubmit/presubmit.cfg | 7 ++++++- setup.py | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917..227ccdf 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1 +1,6 @@ -# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "NOX_SESSION" + value: "system-3.12 blacken mypy format" +} diff --git a/setup.py b/setup.py index 166bc5c..d125caf 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], From e316bf25288418bf303cddf22b892aa52b8ba994 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 22 Oct 2025 17:57:39 +0000 Subject: [PATCH 02/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .kokoro/presubmit/presubmit.cfg | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 227ccdf..8f43917 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1,6 +1 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "NOX_SESSION" - value: "system-3.12 blacken mypy format" -} +# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file From 510e01992a5be6fbf5debfefdd0eb956125bf2b4 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 06:30:28 -0400 Subject: [PATCH 03/35] fix(kokoro): Preserve NOX_SESSION in presubmit.cfg --- owlbot.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/owlbot.py b/owlbot.py index 0864e69..b65db8e 100644 --- a/owlbot.py +++ b/owlbot.py @@ -30,6 +30,17 @@ ) s.move(templated_files, excludes=["docs/multiprocessing.rst", "README.rst"]) +s.replace( + ".kokoro/presubmit.cfg", + """# Format: //devtools/kokoro/config/proto/build.proto""", + """# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "NOX_SESSION" + value: "system-3.12 blacken mypy format" +}""", +) + python.py_samples(skip_readmes=True) s.replace( From 294ecf0a1525f5dc11cc7575ecb2a9fdc50da03d Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 07:19:55 -0400 Subject: [PATCH 04/35] Apply suggestion from @chalmerlowe --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d125caf..a8a6462 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", + 'Programming Language :: Python :: 3.13', "Operating System :: OS Independent", "Topic :: Internet", ], From 52d547137709ecdbf376e36fccf67cad460687d7 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 11:21:22 +0000 Subject: [PATCH 05/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8a6462..d125caf 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - 'Programming Language :: Python :: 3.13', + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], From 1aa2893805a69078b6c1e700c2527d746439493b Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 07:29:57 -0400 Subject: [PATCH 06/35] fix(kokoro): Update path to presubmit.cfg in owlbot.py --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index b65db8e..d73e1a6 100644 --- a/owlbot.py +++ b/owlbot.py @@ -31,7 +31,7 @@ s.move(templated_files, excludes=["docs/multiprocessing.rst", "README.rst"]) s.replace( - ".kokoro/presubmit.cfg", + ".kokoro/presubmit/presubmit.cfg", """# Format: //devtools/kokoro/config/proto/build.proto""", """# Format: //devtools/kokoro/config/proto/build.proto From 730de17f833b2012f795ea96d8d425b6312fefca Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 11:32:46 +0000 Subject: [PATCH 07/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .kokoro/presubmit/presubmit.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 8f43917..bcb3053 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -1 +1,6 @@ -# Format: //devtools/kokoro/config/proto/build.proto \ No newline at end of file +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "NOX_SESSION" + value: "system-3.12 blacken mypy format" +} \ No newline at end of file From 0904f48cf499533187e558307bbd7f93090f9814 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 07:38:23 -0400 Subject: [PATCH 08/35] Apply suggestion from @chalmerlowe --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index d73e1a6..7f888cf 100644 --- a/owlbot.py +++ b/owlbot.py @@ -37,7 +37,7 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.12 blacken mypy format" + value: "system-3.8 blacken format" }""", ) From f820d654fb995534f2873c469957070f448a46ce Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 07:38:31 -0400 Subject: [PATCH 09/35] Apply suggestion from @chalmerlowe --- .kokoro/presubmit/presubmit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index bcb3053..173087b 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -2,5 +2,5 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.12 blacken mypy format" + value: "system-3.8 blacken format" } \ No newline at end of file From 1a48a857809691bbc6e18639cde5523e492a5151 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 07:48:43 -0400 Subject: [PATCH 10/35] Update owlbot.py --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 7f888cf..769be70 100644 --- a/owlbot.py +++ b/owlbot.py @@ -37,7 +37,7 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.8 blacken format" + value: "system-3.10 blacken format" }""", ) From 66e5030950b78645459452d3129fcaf3a2430251 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 07:48:48 -0400 Subject: [PATCH 11/35] Update .kokoro/presubmit/presubmit.cfg --- .kokoro/presubmit/presubmit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 173087b..3de6c94 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -2,5 +2,5 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.8 blacken format" + value: "system-3.10 blacken format" } \ No newline at end of file From e0dcd0f02a859eeb986285b34a824eb9d2d2ef1b Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 08:04:40 -0400 Subject: [PATCH 12/35] updates owlbot.py and noxfile.py to use 3.10 for system and linting. --- noxfile.py | 4 ++-- owlbot.py | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 8c498fa..f9f8de9 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", @@ -56,7 +56,7 @@ UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", diff --git a/owlbot.py b/owlbot.py index 769be70..ff3ba25 100644 --- a/owlbot.py +++ b/owlbot.py @@ -51,5 +51,19 @@ session.install\("--pre", "grpcio!=1.52.0rc1"\)""", "" ) + +s.replace( + "noxfile.py", + "DEFAULT_PYTHON_VERSION = '3.8'", + "DEFAULT_PYTHON_VERSION = '3.10'" +) + +s.replace( + "noxfile.py", + "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.8']", + "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.10']" +) + + s.shell.run(["nox", "-s", "blacken"], hide_output=False) From 63ded6f0644a43963723059d8e86a4f3b23d15e2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 12:06:52 +0000 Subject: [PATCH 13/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index f9f8de9..8c498fa 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.10" +DEFAULT_PYTHON_VERSION = "3.8" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ "3.7", @@ -56,7 +56,7 @@ UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", From 94caad0aaa9f0bf8c7b91252fc3d7eaa5b8da9da Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 08:18:17 -0400 Subject: [PATCH 14/35] updates owlbot.py to try to account for system test --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index ff3ba25..31d74b5 100644 --- a/owlbot.py +++ b/owlbot.py @@ -37,7 +37,7 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.10 blacken format" + value: "system blacken format" }""", ) From 396aba4b5c955594e22487760433eeab6bcb3e6b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 12:20:23 +0000 Subject: [PATCH 15/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .kokoro/presubmit/presubmit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 3de6c94..7773272 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -2,5 +2,5 @@ env_vars: { key: "NOX_SESSION" - value: "system-3.10 blacken format" + value: "system blacken format" } \ No newline at end of file From fbc6312901143db523fc2da6b5af43a9a3fe6020 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 09:20:09 -0400 Subject: [PATCH 16/35] Apply suggestion from @chalmerlowe --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 31d74b5..5158e7f 100644 --- a/owlbot.py +++ b/owlbot.py @@ -61,7 +61,7 @@ s.replace( "noxfile.py", "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.8']", - "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.10']" + "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.10', '3.11', '3.12', '3.13']" ) From cca615226cc2fb4376382949deaf3d6410bf4b66 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 09:34:47 -0400 Subject: [PATCH 17/35] Apply suggestion from @chalmerlowe --- owlbot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/owlbot.py b/owlbot.py index 5158e7f..fe5f7e2 100644 --- a/owlbot.py +++ b/owlbot.py @@ -54,14 +54,14 @@ s.replace( "noxfile.py", - "DEFAULT_PYTHON_VERSION = '3.8'", - "DEFAULT_PYTHON_VERSION = '3.10'" + 'DEFAULT_PYTHON_VERSION = "3.8"', + 'DEFAULT_PYTHON_VERSION = "3.10"' ) s.replace( "noxfile.py", - "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.8']", - "SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ['3.10', '3.11', '3.12', '3.13']" + 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"]', + 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"]' ) From 8cea842bb12190bc7b323956b895cff3e7db7b19 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 13:36:37 +0000 Subject: [PATCH 18/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 8c498fa..6fa7e53 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 002c291a36d2a963e75d6894627489a478e87bf3 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 09:39:34 -0400 Subject: [PATCH 19/35] Apply suggestion from @chalmerlowe --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index fe5f7e2..32aabd3 100644 --- a/owlbot.py +++ b/owlbot.py @@ -60,7 +60,7 @@ s.replace( "noxfile.py", - 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"]', + 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = \["3.8"\]', 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"]' ) From 7412511cfd140b9350a6baf1fff3d305a8c69e8d Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 09:54:07 -0400 Subject: [PATCH 20/35] Apply suggestion from @chalmerlowe --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 32aabd3..2305bea 100644 --- a/owlbot.py +++ b/owlbot.py @@ -60,7 +60,7 @@ s.replace( "noxfile.py", - 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = \["3.8"\]', + r'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"]', 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"]' ) From 8e92bfcf8b8fa3fb55782e9ba4b500ca8215b69d Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 09:55:50 -0400 Subject: [PATCH 21/35] Apply suggestion from @chalmerlowe --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d125caf..a8a6462 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", + 'Programming Language :: Python :: 3.13', "Operating System :: OS Independent", "Topic :: Internet", ], From a9b9a98193e4cf0265fc96ea9e68ddd3bef3e261 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 13:57:40 +0000 Subject: [PATCH 22/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8a6462..d125caf 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - 'Programming Language :: Python :: 3.13', + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], From d020cff8f9e040363c7d7534afd27b4ec3a9a796 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 10:04:50 -0400 Subject: [PATCH 23/35] Apply suggestion from @chalmerlowe --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 2305bea..6d0f99b 100644 --- a/owlbot.py +++ b/owlbot.py @@ -60,7 +60,7 @@ s.replace( "noxfile.py", - r'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"]', + r'SYSTEM_TEST_PYTHON_VERSIONS: List\[str\] = \["3.8"\]', 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"]' ) From b8b5a28d5453f63b957922e728541ff55eb55110 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 10:05:12 -0400 Subject: [PATCH 24/35] Apply suggestion from @chalmerlowe --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d125caf..bb257da 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", + 'Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], From 35cd2c7ef53a46a58d0cdac14af5536704114ad5 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 14:06:35 +0000 Subject: [PATCH 25/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 6fa7e53..d8aa2bf 100644 --- a/noxfile.py +++ b/noxfile.py @@ -56,7 +56,7 @@ UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", From c1ccaa8ec6c915a4f2c68ca655e35bd29e9c0713 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Thu, 23 Oct 2025 10:07:50 -0400 Subject: [PATCH 26/35] Apply suggestion from @chalmerlowe --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bb257da..d125caf 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - 'Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], From 0cea5246b1bec2e0e2052ef530e99114991c6e36 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 10:18:02 -0400 Subject: [PATCH 27/35] updates lint version to match default of 3.10 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193..1051da0 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.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel From c65a660d2c7e66ea3b3a89b2d44fc85facb7e2c1 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 10:19:02 -0400 Subject: [PATCH 28/35] updates system test version to match default of 3.10 --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 6d0f99b..deefc96 100644 --- a/owlbot.py +++ b/owlbot.py @@ -61,7 +61,7 @@ s.replace( "noxfile.py", r'SYSTEM_TEST_PYTHON_VERSIONS: List\[str\] = \["3.8"\]', - 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"]' + 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"]' ) From f4873196fe9d42b8ab91dc8012a0b0abbe60c762 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 14:19:56 +0000 Subject: [PATCH 29/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1051da0..4866193 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.8" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel From 80203e3de8c8932f2d187c5d556db26660ac3a66 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 14:20:57 +0000 Subject: [PATCH 30/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/lint.yml | 2 +- noxfile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1051da0..4866193 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.8" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/noxfile.py b/noxfile.py index d8aa2bf..f9f8de9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -56,7 +56,7 @@ UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", From 858e2f9f7f3f6e9bd6d7ba123eae3b7e651eaecd Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 14:21:45 +0000 Subject: [PATCH 31/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index d8aa2bf..f9f8de9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -56,7 +56,7 @@ UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10", "3.11", "3.12", "3.13"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", From ba92f10e1fe2dc27056a02ac4ad2f89af1564255 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 10:28:33 -0400 Subject: [PATCH 32/35] updates lint version to match default of 3.10 redux --- owlbot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/owlbot.py b/owlbot.py index deefc96..2d23864 100644 --- a/owlbot.py +++ b/owlbot.py @@ -30,6 +30,12 @@ ) s.move(templated_files, excludes=["docs/multiprocessing.rst", "README.rst"]) +s.replace( + ".github/workflows/lint.yml", + 'python-version: "3.8"', + 'python-version: "3.10"' +) + s.replace( ".kokoro/presubmit/presubmit.cfg", """# Format: //devtools/kokoro/config/proto/build.proto""", From 313059f6497478d853f5bd4d099a8c42f78c2c8b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 14:30:39 +0000 Subject: [PATCH 33/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193..1051da0 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.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel From 6c71c95728c1aa321f38dd657b827041927b6e28 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 23 Oct 2025 11:21:21 -0400 Subject: [PATCH 34/35] modified the owlbot to take advantage of a capability in common.py_library --- owlbot.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/owlbot.py b/owlbot.py index 2d23864..c42e67f 100644 --- a/owlbot.py +++ b/owlbot.py @@ -27,6 +27,8 @@ # ---------------------------------------------------------------------------- templated_files = common.py_library( microgenerator=True, + default_python_version="3.10", + system_test_python_versions=["3.10"], ) s.move(templated_files, excludes=["docs/multiprocessing.rst", "README.rst"]) @@ -58,18 +60,5 @@ "" ) -s.replace( - "noxfile.py", - 'DEFAULT_PYTHON_VERSION = "3.8"', - 'DEFAULT_PYTHON_VERSION = "3.10"' -) - -s.replace( - "noxfile.py", - r'SYSTEM_TEST_PYTHON_VERSIONS: List\[str\] = \["3.8"\]', - 'SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"]' -) - - s.shell.run(["nox", "-s", "blacken"], hide_output=False) From 31c30bf23e425c7cf6da84ab74bff0eeb852b1e5 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Oct 2025 15:23:03 +0000 Subject: [PATCH 35/35] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/unittest.yml | 2 +- CONTRIBUTING.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index c66b757..1c9d078 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.10" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 4167c6a..c047364 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -143,12 +143,12 @@ Running System Tests $ nox -s system # Run a single system test - $ nox -s system-3.8 -- -k + $ nox -s system-3.10 -- -k .. note:: - System tests are only configured to run under Python 3.8. + System tests are only configured to run under Python 3.10. For expediency, we do not run them in older versions of Python 3. This alone will not run the tests. You'll need to change some local