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

Commit 5c996f8

Browse files
committed
set python 3.14 as the default version
1 parent 1520cd1 commit 5c996f8

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.19 -- -k <name of test>
146+
$ nox -s system-3.14 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.19.
151+
System tests are only configured to run under Python 3.14.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local

noxfile.py

Lines changed: 3 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.13"
35+
DEFAULT_PYTHON_VERSION = "3.14"
3636

3737
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3838
"3.9",
@@ -389,15 +389,15 @@ def docfx(session):
389389
)
390390

391391

392-
@nox.session(python="3.14")
392+
@nox.session(python=DEFAULT_PYTHON_VERSION)
393393
@nox.parametrize(
394394
"protobuf_implementation",
395395
["python", "upb", "cpp"],
396396
)
397397
def prerelease_deps(session, protobuf_implementation):
398398
"""Run all tests with prerelease versions of dependencies installed."""
399399

400-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
400+
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
401401
session.skip("cpp implementation is not supported in python 3.11+")
402402

403403
# Install all dependencies

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
"google-cloud-audit-log >= 0.3.1, < 1.0.0",
4545
"google-cloud-core >= 2.0.0, <3.0.0",
4646
"grpc-google-iam-v1 >=0.12.4, <1.0.0",
47+
"grpcio >= 1.33.2, < 2.0.0",
48+
"grpcio >= 1.75.1, < 2.0.0; python_version >= '3.14'",
4749
"opentelemetry-api >= 1.9.0",
4850
"proto-plus >= 1.22.0, <2.0.0",
4951
"proto-plus >= 1.22.2, <2.0.0; python_version>='3.11'",

0 commit comments

Comments
 (0)