From e20c9148f091d6ce5aeb90f4ffedfc57d5e93842 Mon Sep 17 00:00:00 2001 From: Darren Burns Date: Thu, 28 Nov 2024 15:57:19 +0000 Subject: [PATCH] Update GitHub Actions release workflow to install setuptools before building wheels - Modified the CIBW_BEFORE_BUILD environment variable to ensure setuptools is installed prior to executing the build command. - Simplified the build command by removing the '--with setuptools' option from the uvx command. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa35f36..ffbb3b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,9 +32,9 @@ jobs: platforms: all - name: Build wheels - run: uvx --with setuptools cibuildwheel@2.22.0 --output-dir dist + run: uvx cibuildwheel@2.22.0 --output-dir dist env: - CIBW_BEFORE_BUILD: pip install -e . && python build.py + CIBW_BEFORE_BUILD: pip install setuptools && pip install -e . && python build.py CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: python -m pytest --showlocals {package}/tests CIBW_SKIP: "{cp36-*,cp37-*,pp*}" # Skip Python 3.6 and 3.7, as well as PyPy