Skip to content

Commit 42a67dc

Browse files
committed
Hijack Pyodide test command just to import the package itself.
1 parent 8f873d1 commit 42a67dc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test-command = "pytest {project}/tests"
1010
# so we can't run post-wheel-build tests there.
1111
# The musllinux containers on aarch64 take 6+ hours to test.
1212
# Also testing any pypy versions fails, as TensorFlow isn't pypy compatible.
13-
test-skip = "*manylinux* *musllinux_aarch* *pp* *-macosx_universal2:arm64 *pyodide*"
13+
test-skip = "*manylinux* *musllinux_aarch* *pp* *-macosx_universal2:arm64"
1414
musllinux-x86_64-image = "quay.io/pypa/musllinux_1_1_x86_64:2024-04-29-07d05a0"
1515
musllinux-aarch64-image = "quay.io/pypa/musllinux_1_1_aarch64:2024-04-29-07d05a0"
1616

@@ -32,6 +32,12 @@ archs = ["auto"]
3232
select = "*-musllinux*"
3333
before-all = "apk add libsndfile libx11-dev libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxinerama-dev libxcursor-dev freetype-dev libexecinfo-dev alsa-lib-dev"
3434

35+
[[tool.cibuildwheel.overrides]]
36+
# Just ensure we can load Pedalboard itself:
37+
select = "*pyodide*"
38+
test-requires = ["numpy"]
39+
test-command = "python3 -c 'import pedalboard'"
40+
3541
[project]
3642
name = "pedalboard"
3743
authors = [{ name = "Peter Sobot", email = "psobot@spotify.com" }]

0 commit comments

Comments
 (0)