Skip to content

Commit

Permalink
Set Windows wheel Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Sep 4, 2024
1 parent 8a3a034 commit a3e6282
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/wheel_tests_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest]
cibw_python: [ "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
cibw_python: ["cp310-*", "cp311-*", "cp312-*"]
cibw_arch: [ "x86_64", "arm64"] #, "universal2"]

steps:
Expand All @@ -76,16 +76,6 @@ jobs:
with:
python-version: '3.10'

# See:
# https://cibuildwheel.readthedocs.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
# https://github.com/pypa/cibuildwheel/issues/1414
- name: Install experimental MacOSX Py38
if: startsWith(matrix.cibw_python, 'cp38') && (matrix.cibw_arch == 'arm64')
run: |
curl -o /tmp/Python38.pkg https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
sudo installer -pkg /tmp/Python38.pkg -target /
sh "/Applications/Python 3.8/Install Certificates.command"
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
Expand Down Expand Up @@ -121,6 +111,7 @@ jobs:
strategy:
fail-fast: false
matrix:
cibw_python: ["cp310-*", "cp311-*", "cp312-*"]
os: [windows-latest]
cibw_arch: ["AMD64"]

Expand Down

0 comments on commit a3e6282

Please sign in to comment.