From 4404dbe639a6bd935da0b7a602665b49c017f895 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 19 May 2024 10:57:04 +0100 Subject: [PATCH 1/6] Run macOS CI on intel based runners --- .github/workflows/ci-osx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-osx.yaml b/.github/workflows/ci-osx.yaml index de90883f..503f49cb 100644 --- a/.github/workflows/ci-osx.yaml +++ b/.github/workflows/ci-osx.yaml @@ -8,7 +8,7 @@ concurrency: jobs: build: - runs-on: macos-latest + runs-on: macos-13 strategy: fail-fast: false matrix: From a1e5851e0aecc025fb285a1b0da55b602a96bf98 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 19 May 2024 15:51:21 +0100 Subject: [PATCH 2/6] osx > macos --- .github/workflows/ci-osx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-osx.yaml b/.github/workflows/ci-osx.yaml index 503f49cb..3ec16607 100644 --- a/.github/workflows/ci-osx.yaml +++ b/.github/workflows/ci-osx.yaml @@ -1,4 +1,4 @@ -name: OSX CI +name: macOS CI on: [push, pull_request] From 42733d349a6bdcccc643d395de2ba9eef720c2f0 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Wed, 22 May 2024 10:12:25 +0100 Subject: [PATCH 3/6] Use macos-12 image --- .github/workflows/ci-osx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-osx.yaml b/.github/workflows/ci-osx.yaml index 3ec16607..0cdacb49 100644 --- a/.github/workflows/ci-osx.yaml +++ b/.github/workflows/ci-osx.yaml @@ -8,7 +8,7 @@ concurrency: jobs: build: - runs-on: macos-13 + runs-on: macos-12 strategy: fail-fast: false matrix: From 7d8da6206ff2ef1b10b6c712459b819292ebd5ab Mon Sep 17 00:00:00 2001 From: David Stansby Date: Wed, 22 May 2024 13:20:34 +0100 Subject: [PATCH 4/6] Pin max clang version --- .github/workflows/ci-osx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-osx.yaml b/.github/workflows/ci-osx.yaml index 0cdacb49..b5a46c04 100644 --- a/.github/workflows/ci-osx.yaml +++ b/.github/workflows/ci-osx.yaml @@ -38,7 +38,7 @@ jobs: shell: "bash -l {0}" run: > conda create -n env - c-compiler cxx-compiler 'clang>=12.0.1' + c-compiler cxx-compiler 'clang>=12.0.1,<17' python=${{matrix.python-version}} wheel pip - name: Show info about `env` environment From f867d366eaa286c9833b0ffb3f47e950a0ea044a Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 24 May 2024 10:51:16 +0100 Subject: [PATCH 5/6] Build macos wheels on intel --- .github/workflows/wheel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index a9d0dcd8..cb4f2b3e 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -13,14 +13,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-12] env: CIBW_TEST_COMMAND: python -c "import numcodecs" CIBW_SKIP: "pp* cp36-* *-musllinux_* *win32 *_i686 *_s390x" CIBW_ARCHS_MACOS: 'x86_64 arm64' CIBW_TEST_SKIP: '*-macosx_arm64' # note: CIBW_ENVIRONMENT is now set in pyproject.toml - + steps: - uses: actions/checkout@v4 with: From bd3a7a7f56f156907b6fb663a6b198eeb866f382 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Wed, 19 Jun 2024 09:31:38 +0100 Subject: [PATCH 6/6] Pin max numpy version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eb620b92..f7c23d2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ A Python package providing buffer compression and transformation codecs \ for use in data storage and communication applications.""" readme = "README.rst" dependencies = [ - "numpy>=1.7", + "numpy>=1.7,<2", ] requires-python = ">=3.8" dynamic = [