From 9846c83a0496bd16941a955831a0a9e0c63f5d29 Mon Sep 17 00:00:00 2001 From: Georges Berenger Date: Thu, 16 May 2024 16:29:56 -0700 Subject: [PATCH] Use cibuildwheel v2.17.0 (#59) Summary: Pull Request resolved: https://github.com/facebookresearch/pyvrs/pull/59 We're seeing build breakages that are apparently caused by cibuildwheel v2.18, so let's keep using v2.17 for now. Reviewed By: hanghu, SeaOtocinclus Differential Revision: D57464193 fbshipit-source-id: dfd7449229c3fba83394f17485e9d6752450a71e --- .github/workflows/build-and-test.yml | 2 +- .github/workflows/deploy.yml | 2 +- scripts/build-macos-arm64-package.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index de42dd9..42a552b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -52,7 +52,7 @@ jobs: fi python -m pip install -U pip python -m pip install numpy typing dataclasses pytest parameterized Pillow - python -m pip install cibuildwheel + python -m pip install cibuildwheel==2.17.0 - name: Build wheels for CPython run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 009c564..801a569 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,7 +61,7 @@ jobs: - name: Install cibuildwheel run: | - python3 -m pip install cibuildwheel + python3 -m pip install cibuildwheel==2.17.0 - name: Build wheels for CPython run: | diff --git a/scripts/build-macos-arm64-package.sh b/scripts/build-macos-arm64-package.sh index 5c07c33..12a8c95 100644 --- a/scripts/build-macos-arm64-package.sh +++ b/scripts/build-macos-arm64-package.sh @@ -51,7 +51,7 @@ export CIBW_BEFORE_BUILD_MACOS="arch -arm64 brew install boost cmake fmt glog jp export CIBW_SKIP="*-manylinux_i686 *musllinux*" # Build wheels for all specified versions -python -m pip install cibuildwheel +python -m pip install cibuildwheel==2.17.0 python -m cibuildwheel --output-dir dist # # Upload to PyPI