Making manylinux1 still the default for manylinux_i686 builds

This commit is contained in:
Yannick Jadoul
2019-10-16 00:35:20 +02:00
parent 1220fbbd4b
commit c6f1382813
6 changed files with 21 additions and 18 deletions
@@ -12,9 +12,11 @@ def test():
# rather than when dynamically loading the Python
utils.cibuildwheel_run(project_dir, add_env={
'CIBW_ENVIRONMENT': 'CFLAGS="$CFLAGS -Werror=implicit-function-declaration"',
'CIBW_SKIP': '*-manylinux_i686',
})
# also check that we got the right wheels
expected_wheels = utils.expected_wheels('spam', '0.1.0', manylinux_versions={'manylinux2010_x86_64'})
expected_wheels = [w for w in utils.expected_wheels('spam', '0.1.0', manylinux_x86_64_versions={'manylinux2010'})
if '-manylinux1_i686' not in w]
actual_wheels = os.listdir('wheelhouse')
assert set(actual_wheels) == set(expected_wheels)