Skip troublesome tests on s390x and add some comments for clarity.

This commit is contained in:
Josh W 2024-09-05 20:33:27 -04:00
parent f89f5a6295
commit fa6250d649

View file

@ -5,6 +5,9 @@ build-backend = 'setuptools.build_meta'
[tool.cibuildwheel] [tool.cibuildwheel]
test-command = 'pytest {package}/tests' test-command = 'pytest {package}/tests'
test-extras = ['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] [tool.cibuildwheel.linux]
archs = ['auto', 'aarch64', 'ppc64le', 's390x'] archs = ['auto', 'aarch64', 'ppc64le', 's390x']
@ -19,6 +22,11 @@ before-test = "brew install libsndfile"
#archs = ['auto', 'ARM64'] #archs = ['auto', 'ARM64']
[[tool.cibuildwheel.overrides]] [[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*' select = '*-musllinux*'
before-test = [ before-test = [
'apk add libsndfile', 'apk add libsndfile',