From 4bc6bd3c5fcc2d3b4822464fab4d32f030b0ff91 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri, 22 Jul 2022 11:33:32 +0200 Subject: [PATCH] Skip Python 3.6 test on macOS arm64 --- test/test_dependency_versions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_dependency_versions.py b/test/test_dependency_versions.py index e1f206324..bf1b9c781 100644 --- a/test/test_dependency_versions.py +++ b/test/test_dependency_versions.py @@ -1,5 +1,6 @@ from __future__ import annotations +import platform import re import textwrap @@ -60,6 +61,8 @@ def test_pinned_versions(tmp_path, python_version, build_frontend_env): build_environment = {} if python_version == "3.6": + if utils.platform == "macos" and platform.machine() == "arm64": + pytest.skip("macOS arm64 does not support Python 3.6") constraint_filename = "constraints-python36.txt" build_pattern = "[cp]p36-*" elif python_version == "3.7":