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

Commit 0586d57

Browse files
committed
fixed prerelease_deps
1 parent e6815ca commit 0586d57

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ def docfx(session):
465465
def prerelease_deps(session, protobuf_implementation):
466466
"""Run all tests with prerelease versions of dependencies installed."""
467467

468-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
468+
py_version = tuple([int(v) for v in session.python.split(".")])
469+
if protobuf_implementation == "cpp" and py_version >= (3, 11):
469470
session.skip("cpp implementation is not supported in python 3.11+")
470471

471472
# Install all dependencies

0 commit comments

Comments
 (0)