Skip to content

Commit

Permalink
Try to fix failure detected with GA
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Dec 2, 2024
1 parent 1834029 commit fc6f552
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -34,6 +33,7 @@ def test(session, with_pythran, with_cython):
session.install("cython")

if version.parse(py_version) < version.parse("3.12"):
session.install("setuptools<60.0")
for backend in ("python", "pythran"):
print(f"TRANSONIC_BACKEND={backend}")
session.run(
Expand Down
4 changes: 2 additions & 2 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ base-test = [
"pytest-cov",
"pytest-venv",
"scipy",
# setuptools for transonic.dist
"setuptools",
"-e transonic_testing @ file:///${PROJECT_ROOT}/_transonic_testing",
]
test = [
Expand Down

0 comments on commit fc6f552

Please sign in to comment.