Skip to content

Commit

Permalink
ci: lower python version to 3.8 in publish-python
Browse files Browse the repository at this point in the history
This is an attempt to fix the macos has the wrong dylib part of the
issue zxing-cpp#695.
  • Loading branch information
axxel committed Feb 20, 2024
1 parent f7c9de4 commit f00529e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f00529e

Please sign in to comment.