Skip to content

Commit fc6f552

Browse files
committed
Try to fix failure detected with GA
1 parent 1834029 commit fc6f552

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ def test(session, with_pythran, with_cython):
2121
if session.python is not None
2222
else sys.version.split(maxsplit=1)[0]
2323
)
24-
if version.parse(py_version) < version.parse("3.12"):
24+
if version.parse(py_version) < version.parse("3.13"):
25+
# Numba not yet compatible with 3.13 (2024-12-02)
2526
session.install("numba")
26-
else:
27-
session.install("setuptools")
2827

2928
session.install("jax", "jaxlib")
3029

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

3635
if version.parse(py_version) < version.parse("3.12"):
36+
session.install("setuptools<60.0")
3737
for backend in ("python", "pythran"):
3838
print(f"TRANSONIC_BACKEND={backend}")
3939
session.run(

pdm.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ base-test = [
5353
"pytest-cov",
5454
"pytest-venv",
5555
"scipy",
56+
# setuptools for transonic.dist
57+
"setuptools",
5658
"-e transonic_testing @ file:///${PROJECT_ROOT}/_transonic_testing",
5759
]
5860
test = [

0 commit comments

Comments
 (0)