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

Commit 5f346a6

Browse files
committed
Noxfile changes
1 parent 848d7a1 commit 5f346a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ def install_unittest_dependencies(session, *constraints):
185185
)
186186
def unit(session, protobuf_implementation):
187187
# Install all test dependencies, then install this package in-place.
188-
189-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
188+
py_version = tuple([int(v) for v in session.python.split(".")])
189+
if protobuf_implementation == "cpp" and py_version >= (3, 11):
190190
session.skip("cpp implementation is not supported in python 3.11+")
191191

192192
constraints_path = str(

0 commit comments

Comments
 (0)