Test doesn't depend on python version but macOS arm64 can't build 3.6

This commit is contained in:
jack1142
2022-08-17 15:12:58 +02:00
committed by Jakub Kuczys
parent 2bf4c14249
commit b39dc5bb5e
+3 -3
View File
@@ -51,13 +51,13 @@ def test(capfd, tmp_path):
add_env={
"CIBW_BEFORE_BUILD": "python {project}/bin/before_build.py",
"CIBW_TEST_COMMAND": "python {package}/test/run_tests.py",
# this shouldn't depend on the version of python, so build only CPython 3.6
"CIBW_BUILD": "cp36-*",
# this shouldn't depend on the version of python, so build only CPython 3.8
"CIBW_BUILD": "cp38-*",
},
)
# check that the expected wheels are produced
expected_wheels = [w for w in utils.expected_wheels("spam", "0.1.0") if "cp36" in w]
expected_wheels = [w for w in utils.expected_wheels("spam", "0.1.0") if "cp38" in w]
assert set(actual_wheels) == set(expected_wheels)
captured = capfd.readouterr()