Skip to content

Commit ee497e7

Browse files
1 parent 43b1b51 commit ee497e7

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

‎noxfile.py‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,12 @@ def install_unittest_dependencies(session, *constraints):
233233
def unit(session, protobuf_implementation):
234234
# Install all test dependencies, then install this package in-place.
235235

236-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
236+
if protobuf_implementation == "cpp" and session.python in (
237+
"3.11",
238+
"3.12",
239+
"3.13",
240+
"3.14",
241+
):
237242
session.skip("cpp implementation is not supported in python 3.11+")
238243

239244
constraints_path = str(
@@ -443,7 +448,12 @@ def docfx(session):
443448
def prerelease_deps(session, protobuf_implementation):
444449
"""Run all tests with prerelease versions of dependencies installed."""
445450

446-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
451+
if protobuf_implementation == "cpp" and session.python in (
452+
"3.11",
453+
"3.12",
454+
"3.13",
455+
"3.14",
456+
):
447457
session.skip("cpp implementation is not supported in python 3.11+")
448458

449459
# Install all dependencies
@@ -455,7 +465,6 @@ def prerelease_deps(session, protobuf_implementation):
455465
)
456466
session.install(*system_deps_all)
457467

458-
459468
prerel_deps = [
460469
"protobuf",
461470
# dependency of grpc

0 commit comments

Comments
 (0)