Skip to content

Commit 93e5259

Browse files
committed
Fix quote
- With quote at macOS and Linux - Without quote at Windows
1 parent 94da6c7 commit 93e5259

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
build = ["cp3{9,10,11,12,13}-{macosx_*,{win,????linux}_*64}"]
77
build-frontend = "build[uv]"
88

9-
test-command = ["uv run --with numpy>=2.0 python -m unittest discover {project}/test"]
9+
test-command = ["uv run python -m unittest discover {project}/test"]
1010
test-requires = [
1111
"gymnasium",
1212
]
@@ -23,6 +23,12 @@ test-requires = "jax[cpu]"
2323

2424

2525
[[tool.cibuildwheel.overrides]]
26-
select = "cp3{9,10,11,12}-*"
26+
select = "cp3{9,10,11,12}-{macosx,manylinux}_*"
27+
inherit.test-command = "append"
28+
test-command = "uv run --with 'numpy<2.0' python -m unittest discover {project}/test"
29+
30+
31+
[[tool.cibuildwheel.overrides]]
32+
select = "cp3{9,10,11,12}-win_*"
2733
inherit.test-command = "append"
2834
test-command = "uv run --with numpy<2.0 python -m unittest discover {project}/test"

0 commit comments

Comments
 (0)