From b39dc5bb5e1db77da817c198fbd0ca4dd4b409a3 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri, 22 Jul 2022 12:47:33 +0200 Subject: [PATCH] Test doesn't depend on python version but macOS arm64 can't build 3.6 --- test/test_subdir_package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_subdir_package.py b/test/test_subdir_package.py index c1d73df1..32a783e5 100644 --- a/test/test_subdir_package.py +++ b/test/test_subdir_package.py @@ -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()