From 21aaeb3aba97ad3b0ae39c6540a7b1afd12a3f7e Mon Sep 17 00:00:00 2001 From: Flowseal Date: Tue, 28 Jul 2026 11:43:28 +0300 Subject: [PATCH] macos build fix --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4e501f..79add13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -236,6 +236,8 @@ jobs: build-macos: runs-on: macos-latest if: ${{ github.event.inputs.build_macos == 'true' }} + env: + CFFI_VERSION: "2.0.0" steps: - name: Checkout uses: actions/checkout@v6 @@ -261,7 +263,7 @@ jobs: --python-version 3.12 \ --implementation cp \ -d wheelhouse/arm64 \ - 'cffi>=2.0.0' \ + "cffi==$CFFI_VERSION" \ Pillow==12.1.0 \ psutil==7.0.0 @@ -271,7 +273,7 @@ jobs: --python-version 3.12 \ --implementation cp \ -d wheelhouse/x86_64 \ - 'cffi>=2.0.0' \ + "cffi==$CFFI_VERSION" \ Pillow==12.1.0 python3.12 -m pip download \