From 286c3013f5fcbe5bba759313cf08f500be565ad0 Mon Sep 17 00:00:00 2001 From: Emmanuel Bengio Date: Thu, 2 May 2024 17:26:18 -0400 Subject: [PATCH] Downgrade Mac OS image to get build to pass (#132) Downgrade Mac OS image to macos-13 (which is x86) to get the build to pass. Many packages still do not have M1 (arm64+macos) wheels, and when trying to build from source some libraries are missing (e.g. HDF5 headers). It's apparently possible to run brew install ... commands in the github actions to fix this, but I will leave this to future me. --- .github/workflows/build-and-test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 1101b65a..8208234b 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -14,7 +14,8 @@ jobs: include: - {name: Linux, python: '3.10', os: ubuntu-latest, tox: py310} - {name: Windows, python: '3.10', os: windows-latest, tox: py310} - - {name: Mac, python: '3.10', os: macos-latest, tox: py310} + # Some packages fail on M1 (macos-latest) due to not having wheels and not being able to build from source + - {name: Mac, python: '3.10', os: macos-13, tox: py310} steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3