Skip to content

Commit 61f3fcc

Browse files
committed
Fix version limit check in noxfile.py
1 parent 9e4b57e commit 61f3fcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

noxfile.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
PYO3_GUIDE_SRC = PYO3_DIR / "guide" / "src"
3232
PYO3_GUIDE_TARGET = PYO3_TARGET / "guide"
3333
PYO3_DOCS_TARGET = PYO3_TARGET / "doc"
34-
PY_VERSIONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13")
34+
PY_VERSIONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14")
3535
PYPY_VERSIONS = ("3.9", "3.10")
3636
FREE_THREADED_BUILD = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))
3737

@@ -660,8 +660,8 @@ def test_version_limits(session: nox.Session):
660660
config_file.set("CPython", "3.6")
661661
_run_cargo(session, "check", env=env, expect_error=True)
662662

663-
assert "3.14" not in PY_VERSIONS
664-
config_file.set("CPython", "3.14")
663+
assert "3.15" not in PY_VERSIONS
664+
config_file.set("CPython", "3.15")
665665
_run_cargo(session, "check", env=env, expect_error=True)
666666

667667
# 3.14 CPython should build with forward compatibility

0 commit comments

Comments
 (0)