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
+4 -1
View File
@@ -17,6 +17,9 @@ def test():
def test_build_identifiers():
# check that the number of expected wheels matches the number of build
# identifiers
expected_wheels = utils.expected_wheels('spam', '0.1.0')
# after adding CIBW_MANYLINUX_IMAGE to support manylinux2010, there
# can be multiple wheels for each wheel, though, so we need to limit
# the expected wheels
expected_wheels = utils.expected_wheels('spam', '0.1.0', manylinux_x86_64_versions={'manylinux2010'}, manylinux_i686_versions={'manylinux1'})
build_identifiers = utils.cibuildwheel_get_build_identifiers(project_dir)
assert len(expected_wheels) == len(build_identifiers)