diff --git a/test/test_dependency_versions.py b/test/test_dependency_versions.py index 1b415bb4..72c10597 100644 --- a/test/test_dependency_versions.py +++ b/test/test_dependency_versions.py @@ -55,6 +55,13 @@ def test_pinned_versions(tmp_path, python_version): if utils.IS_WINDOWS_RUNNING_ON_TRAVIS and python_version == '2.7': pytest.skip('Windows + Travis CI requires a workaround') + is_running_on_macos_11_or_later = ( + utils.platform == 'macos' and utils.get_macos_version() >= (10, 16) + ) + + if is_running_on_macos_11_or_later and python_version == '3.5': + pytest.skip('CPython 3.5 doesn\'t work on macOS Big Sur+') + project_dir = tmp_path / 'project' project_with_expected_version_checks.generate(project_dir)