From ccb705d5a09d3ec6679afda2478e890e60a18bd9 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 16 Nov 2023 13:39:50 -0500 Subject: [PATCH 1/4] Fix building wheels. --- .github/workflows/release-artifacts.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index fed3a4158653..527ce1c8c78f 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -111,8 +111,8 @@ jobs: exclude: # Don't build macos wheels on PR CI. - - is_pr: true - os: "macos-11" + #- is_pr: true + # os: "macos-11" # Don't build aarch64 wheels on mac. - os: "macos-11" arch: aarch64 @@ -130,7 +130,7 @@ jobs: python-version: "3.x" - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.9.0 + run: python -m pip install cibuildwheel==2.16.2 - name: Set up QEMU to emulate aarch64 if: matrix.arch == 'aarch64' From b821ecb17d25b97cae73403d87e35aac4ffb8800 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 16 Nov 2023 13:41:23 -0500 Subject: [PATCH 2/4] Newsfragment --- changelog.d/16653.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/16653.misc diff --git a/changelog.d/16653.misc b/changelog.d/16653.misc new file mode 100644 index 000000000000..9ee7b272261a --- /dev/null +++ b/changelog.d/16653.misc @@ -0,0 +1 @@ +Fix building of wheels in CI. From 68c9023b32cd4b39000bfd9171f20f17be07898f Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 16 Nov 2023 13:54:23 -0500 Subject: [PATCH 3/4] Temp: Enable more builds in PR --- .github/workflows/release-artifacts.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 527ce1c8c78f..b165075396a9 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -142,9 +142,9 @@ jobs: if: matrix.arch == 'aarch64' run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV - - name: Only build a single wheel on PR - if: startsWith(github.ref, 'refs/pull/') - run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV + #- name: Only build a single wheel on PR + # if: startsWith(github.ref, 'refs/pull/') + # run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse From 01f2218f1982d0b81418767995404f898ce23314 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 16 Nov 2023 14:21:52 -0500 Subject: [PATCH 4/4] Don't build wheel on PR. --- .github/workflows/release-artifacts.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index b165075396a9..8019f4c250af 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -111,8 +111,8 @@ jobs: exclude: # Don't build macos wheels on PR CI. - #- is_pr: true - # os: "macos-11" + - is_pr: true + os: "macos-11" # Don't build aarch64 wheels on mac. - os: "macos-11" arch: aarch64 @@ -142,9 +142,9 @@ jobs: if: matrix.arch == 'aarch64' run: echo 'CIBW_ARCHS_LINUX=aarch64' >> $GITHUB_ENV - #- name: Only build a single wheel on PR - # if: startsWith(github.ref, 'refs/pull/') - # run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV + - name: Only build a single wheel on PR + if: startsWith(github.ref, 'refs/pull/') + run: echo "CIBW_BUILD="cp38-manylinux_${{ matrix.arch }}"" >> $GITHUB_ENV - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse