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

Commit 9fa784c

Browse files
committed
update version for skip
1 parent 5f73874 commit 9fa784c

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

noxfile.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,8 @@ def docfx(session):
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 (
401-
"3.11",
402-
"3.12",
403-
"3.13",
404-
"3.14",
405-
):
400+
py_version = tuple([int(v) for v in session.python.split(".")])
401+
if protobuf_implementation == "cpp" and py_version >= (3, 11):
406402
session.skip("cpp implementation is not supported in python 3.11+")
407403

408404
# Install all dependencies

0 commit comments

Comments
 (0)