@@ -29,7 +29,7 @@ PACKAGE_NAME = '{{ api.naming.warehouse_package_name }}'
2929
3030BLACK_VERSION = "black==22.3.0"
3131BLACK_PATHS = ["docs", "google", "tests", "samples", "noxfile.py", "setup.py"]
32- DEFAULT_PYTHON_VERSION = "3.13"
32+ DEFAULT_PYTHON_VERSION = ALL_PYTHON[-1]
3333
3434nox.sessions = [
3535 "unit",
@@ -51,7 +51,7 @@ nox.sessions = [
5151def unit(session, protobuf_implementation):
5252 """Run the unit test suite."""
5353
54- if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13") :
54+ if protobuf_implementation == "cpp" and float( session.python) > 3.10 :
5555 session.skip("cpp implementation is not supported in python 3.11+")
5656
5757 session.install('coverage', 'pytest', 'pytest-cov', 'pytest-asyncio', 'asyncmock; python_version < "3.8"')
@@ -85,7 +85,7 @@ def unit(session, protobuf_implementation):
8585def prerelease_deps(session, protobuf_implementation):
8686 " " " Run the unit test suite against pre-release versions of dependencies." " "
8787
88- if protobuf_implementation == " cpp" and session.python in ( " 3.11 " , " 3.12 " , " 3.13 " ) :
88+ if protobuf_implementation == " cpp" and float( session.python) > 3.10 :
8989 session.skip("cpp implementation is not supported in python 3.11+")
9090
9191 # Install test environment dependencies
@@ -120,8 +120,7 @@ def prerelease_deps(session, protobuf_implementation):
120120 "googleapis-common-protos",
121121 "google-api-core",
122122 "google-auth",
123- # Exclude grpcio!=1.67.0rc1 which does not support python 3.13
124- "grpcio!=1.67.0rc1",
123+ "grpcio",
125124 "grpcio-status",
126125 "protobuf",
127126 "proto-plus",
0 commit comments