Adding manylinux2010_i686 image and simplifying tests' utils.expected_wheels()

This commit is contained in:
Yannick Jadoul
2019-10-16 01:15:09 +02:00
parent c6f1382813
commit 2e0dc40e3f
5 changed files with 36 additions and 36 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ def test_build_identifiers():
# 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'})
expected_wheels = [w for w in utils.expected_wheels('spam', '0.1.0')
if not '-manylinux' in w or '-manylinux1' in w]
build_identifiers = utils.cibuildwheel_get_build_identifiers(project_dir)
assert len(expected_wheels) == len(build_identifiers)