Skip to content

Commit b672ff4

Browse files
committed
Updating test 06_docker_images to use new CIBW_MANYLINUX_*_IMAGE options
1 parent 9484bf7 commit b672ff4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/06_docker_images/cibuildwheel_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ def test():
88
pytest.skip('the docker test is only relevant to the linux build')
99

1010
utils.cibuildwheel_run(project_dir, add_env={
11-
'CIBW_MANYLINUX1_X86_64_IMAGE': 'dockcross/manylinux-x64',
12-
'CIBW_MANYLINUX1_I686_IMAGE': 'dockcross/manylinux-x86',
11+
'CIBW_MANYLINUX_X86_64_IMAGE': 'dockcross/manylinux2010-x64',
12+
'CIBW_MANYLINUX_I686_IMAGE': 'dockcross/manylinux1-x86',
13+
'CIBW_ENVIRONMENT': 'AUDITWHEEL_PLAT=`if [ $(uname -i) == "x86_64" ]; then echo "manylinux2010"; else echo "manylinux1"; fi`',
1314
})
1415

1516
# also check that we got the right wheels built
16-
expected_wheels = utils.expected_wheels('spam', '0.1.0')
17+
expected_wheels = utils.expected_wheels('spam', '0.1.0', manylinux_versions={'1_x86_64', '2010_x86_64', '1_i686'})
1718
actual_wheels = os.listdir('wheelhouse')
1819
assert set(actual_wheels) == set(expected_wheels)

0 commit comments

Comments
 (0)