From 941f85ef59ad3b77c6f9c03240ac00a487622f5f Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 30 Aug 2024 11:55:56 +0800 Subject: [PATCH] fix building wheels for macos --- .github/workflows/build-wheels-macos.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-wheels-macos.yaml b/.github/workflows/build-wheels-macos.yaml index 7382535..311e619 100644 --- a/.github/workflows/build-wheels-macos.yaml +++ b/.github/workflows/build-wheels-macos.yaml @@ -56,7 +56,8 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python3 -m pip install --upgrade pip - python3 -m pip install wheel twine setuptools + opts='--break-system-packages' + python3 -m pip install $opts --upgrade pip + python3 -m pip install $opts wheel twine setuptools twine upload ./wheelhouse/*.whl