Skip troublesome tests on s390x and add some comments for clarity.
This commit is contained in:
parent
f89f5a6295
commit
fa6250d649
1 changed files with 8 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue