From f00529e693bc0ddc77bedac0cda16d360ed5c6cd Mon Sep 17 00:00:00 2001 From: axxel Date: Tue, 20 Feb 2024 18:18:05 +0100 Subject: [PATCH] ci: lower python version to 3.8 in publish-python This is an attempt to fix the macos has the wrong dylib part of the issue #695. --- .github/workflows/publish-python.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-python.yml b/.github/workflows/publish-python.yml index 23320be54e..9dc2963228 100644 --- a/.github/workflows/publish-python.yml +++ b/.github/workflows/publish-python.yml @@ -30,7 +30,9 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + # set to minimum supported version to make sure macos wheels contain the right binary, + # see https://github.com/zxing-cpp/zxing-cpp/issues/695#issuecomment-1951340182 + python-version: '3.8' - name: Install cibuildwheel run: python3 -m pip install cibuildwheel==2.16.2