Skip to content

Commit 67162f0

Browse files
authored
remove macOS ARM64 builds (#1247)
...which have never worked. Maybe this will work with CIBUILDWHEEL eventually but until it does, drop them.
1 parent 7b4e277 commit 67162f0

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/artifacts_build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
strategy:
3333
matrix:
3434
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
35+
# ubuntu-20.04 supports more versions of Python than ubuntu-22.04
36+
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
3537
os: [windows-2019, macos-11, ubuntu-20.04]
3638

3739
steps:
@@ -45,14 +47,15 @@ jobs:
4547
platforms: all
4648

4749
- name: Build wheels
48-
uses: pypa/cibuildwheel@v2.11.2
50+
uses: pypa/cibuildwheel@v2.13.1
4951
# https://cibuildwheel.readthedocs.io/en/stable/options/#options-summary
5052
env:
5153
# Windows - both 64-bit and 32-bit builds
5254
CIBW_ARCHS_WINDOWS: "AMD64 x86"
5355

54-
# macOS - both Intel and ARM builds; no bundled libraries
55-
CIBW_ARCHS_MACOS: "x86_64 arm64"
56+
# macOS - just Intel build (ARM doesn't work); no bundled libraries
57+
# https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile
58+
CIBW_ARCHS_MACOS: x86_64
5659
# prevent the addition of unixODBC dylibs to the wheel by simply not calling the repair
5760
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
5861

.github/workflows/ubuntu_build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ on: [push, pull_request]
55
jobs:
66
run_tests:
77
name: Run tests on Python ${{ matrix.python-version }}
8+
# ubuntu-20.04 supports more versions of Python than ubuntu-22.04
9+
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
810
runs-on: ubuntu-20.04
911

1012
strategy:
1113
fail-fast: false
1214
matrix:
15+
# Github Actions no longer supports Python 2.7 (June 2023)
16+
# https://github.com/actions/runner-images/issues/7401
1317
include:
14-
- python-version: "2.7"
15-
tests-dir: tests2
1618
- python-version: "3.6"
1719
tests-dir: tests3
1820
- python-version: "3.7"
@@ -161,7 +163,7 @@ jobs:
161163
- uses: actions/checkout@v3
162164

163165
- name: Set up Python ${{ matrix.python-version }}
164-
uses: actions/setup-python@v3
166+
uses: actions/setup-python@v4
165167
with:
166168
python-version: ${{ matrix.python-version }}
167169

0 commit comments

Comments
 (0)