Skip to content

Commit

Permalink
Fix version limit check in noxfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
clin1234 committed Dec 22, 2024
1 parent 9e4b57e commit 61f3fcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
PYO3_GUIDE_SRC = PYO3_DIR / "guide" / "src"
PYO3_GUIDE_TARGET = PYO3_TARGET / "guide"
PYO3_DOCS_TARGET = PYO3_TARGET / "doc"
PY_VERSIONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13")
PY_VERSIONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14")
PYPY_VERSIONS = ("3.9", "3.10")
FREE_THREADED_BUILD = bool(sysconfig.get_config_var("Py_GIL_DISABLED"))

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

assert "3.14" not in PY_VERSIONS
config_file.set("CPython", "3.14")
assert "3.15" not in PY_VERSIONS
config_file.set("CPython", "3.15")
_run_cargo(session, "check", env=env, expect_error=True)

# 3.14 CPython should build with forward compatibility
Expand Down

0 comments on commit 61f3fcc

Please sign in to comment.