diff --git a/cibuildwheel/macos.py b/cibuildwheel/macos.py index 23304844..7aed4c1a 100644 --- a/cibuildwheel/macos.py +++ b/cibuildwheel/macos.py @@ -81,8 +81,8 @@ def get_python_configurations(build_selector: BuildSelector, # skip builds as required by BUILD/SKIP python_configurations = [c for c in python_configurations if build_selector(c.identifier)] - # When running on macOS 11 in x86_64 mode, the reported OS is the - # non-existent '10.16'. + # When running on macOS 11 and x86_64, the reported OS is '10.16', but + # there is no such OS - it really means macOS 11. if get_macos_version() >= (10, 16): if any(c.identifier.startswith('pp') for c in python_configurations): # pypy doesn't work on macOS 11 yet diff --git a/test/utils.py b/test/utils.py index 369e95a7..e9b48e19 100644 --- a/test/utils.py +++ b/test/utils.py @@ -117,8 +117,8 @@ def expected_wheels(package_name, package_version, manylinux_versions=None, python_abi_tags.append('cp27-cp27mu') # python 2.7 has 2 different ABI on manylinux if platform == 'macos' and get_macos_version() >= (10, 16): - # CPython 3.5 doesn't work on macOS 11. # 10.16 is sometimes reported as the macOS version on macOS 11. + # CPython 3.5 doesn't work on macOS 11. python_abi_tags.remove('cp35-cp35m') # pypy not supported on macOS 11. python_abi_tags = [t for t in python_abi_tags if not t.startswith('pp')]