diff --git a/noxfile.py b/noxfile.py index cc2483b..7acb60f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,10 +21,9 @@ def test(session, with_pythran, with_cython): if session.python is not None else sys.version.split(maxsplit=1)[0] ) - if version.parse(py_version) < version.parse("3.12"): + if version.parse(py_version) < version.parse("3.13"): + # Numba not yet compatible with 3.13 (2024-12-02) session.install("numba") - else: - session.install("setuptools") session.install("jax", "jaxlib") @@ -33,6 +32,8 @@ def test(session, with_pythran, with_cython): if with_cython: session.install("cython") + session.install("setuptools<60.0") + if version.parse(py_version) < version.parse("3.12"): for backend in ("python", "pythran"): print(f"TRANSONIC_BACKEND={backend}")