diff --git a/pyproject.toml b/pyproject.toml index 9322091..013223e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,9 @@ build-backend = 'setuptools.build_meta' [tool.cibuildwheel] test-command = 'pytest {package}/tests' test-extras = ['tests'] +# There seems to be a problem compiling NumPy for testing due to a missing +# constant definition for s390x builds. Skipping for now. +test-skip = "*-musllinux_s390x" [tool.cibuildwheel.linux] archs = ['auto', 'aarch64', 'ppc64le', 's390x'] @@ -19,6 +22,11 @@ before-test = "brew install libsndfile" #archs = ['auto', 'ARM64'] [[tool.cibuildwheel.overrides]] +# There is a known issue with buildroot/musl images not detecting libraries +# correctly. Python's ctypes library is affected by this, which is needed by +# python-soundfile to use libsndfile. This hack is to get around this issue to +# be able to test on musllinux successfully. +# See https://github.com/bastibe/python-soundfile/issues/258 select = '*-musllinux*' before-test = [ 'apk add libsndfile',