test: update expected wheels when using auditwheel >= 4

This commit is contained in:
mayeut
2021-05-08 22:13:29 -04:00
committed by Henry Schreiner
parent a7edf88fc3
commit a972ee9fc7
4 changed files with 24 additions and 20 deletions
+7 -1
View File
@@ -42,7 +42,13 @@ def test(tmp_path):
)
# also check that we got the right wheels built
# there's no auditwheel 4+ on dockcross image
# remove manylinux1 wheels from the list of actual_wheels
# and restrict expected_wheels to manylinux2010 wheels
actual_wheels = [w for w in actual_wheels if "-manylinux1" not in w]
expected_wheels = [
w for w in utils.expected_wheels("spam", "0.1.0") if "-pp" not in w and "-cp39-" not in w
w
for w in utils.expected_wheels("spam", "0.1.0", manylinux_versions=["manylinux2010"])
if "-pp" not in w and "-cp39-" not in w
]
assert set(actual_wheels) == set(expected_wheels)