Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 1489366

Browse files
committed
changed default to 3.13
1 parent b28d8f5 commit 1489366

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

noxfile.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
ISORT_VERSION = "isort==5.11.0"
3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

35-
DEFAULT_PYTHON_VERSION = "3.11"
35+
DEFAULT_PYTHON_VERSION = "3.13"
3636

3737
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3838
"3.8",
@@ -175,7 +175,12 @@ def install_unittest_dependencies(session, *constraints):
175175
def unit(session, protobuf_implementation):
176176
# Install all test dependencies, then install this package in-place.
177177

178-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
178+
if protobuf_implementation == "cpp" and session.python in (
179+
"3.11",
180+
"3.12",
181+
"3.13",
182+
"3.14",
183+
):
179184
session.skip("cpp implementation is not supported in python 3.11+")
180185

181186
constraints_path = str(
@@ -383,7 +388,12 @@ def docfx(session):
383388
def prerelease_deps(session, protobuf_implementation):
384389
"""Run all tests with prerelease versions of dependencies installed."""
385390

386-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
391+
if protobuf_implementation == "cpp" and session.python in (
392+
"3.11",
393+
"3.12",
394+
"3.13",
395+
"3.14",
396+
):
387397
session.skip("cpp implementation is not supported in python 3.11+")
388398

389399
# Install all dependencies

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
templated_files = common.py_library(
3030
unit_test_python_versions=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
3131
system_test_python_versions=["3.9", "3.14"],
32-
default_python_version="3.11",
32+
default_python_version="3.13",
3333
cov_level=99,
3434
intersphinx_dependencies={
3535
"pandas": "https://pandas.pydata.org/pandas-docs/stable/"

0 commit comments

Comments
 (0)