Skip to content

Commit 0144e1f

Browse files
igerberclaude
andcommitted
Remove macOS x86_64 builds - Intel runners retired
GitHub has retired macOS Intel runners (macos-12/13). Intel Mac users can install from sdist and get pure Python fallback. Wheels now built for: - Linux x86_64 (with Rust backend) - macOS ARM64 (with Rust backend) - Source distribution (pure Python fallback for all other platforms) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 379d612 commit 0144e1f

4 files changed

Lines changed: 1235 additions & 38 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,8 @@ jobs:
3535
name: wheels-linux-x86_64
3636
path: dist/*.whl
3737

38-
# Build wheels on macOS x86_64 (native build)
39-
build-macos-x86:
40-
name: Build macOS x86_64 wheels
41-
runs-on: macos-12
42-
strategy:
43-
matrix:
44-
python-version: ['3.9', '3.10', '3.11', '3.12']
45-
steps:
46-
- uses: actions/checkout@v4
47-
48-
- name: Set up Python
49-
uses: actions/setup-python@v5
50-
with:
51-
python-version: ${{ matrix.python-version }}
52-
53-
- name: Install Rust
54-
uses: dtolnay/rust-toolchain@stable
55-
56-
- name: Install OpenBLAS
57-
run: brew install openblas
58-
59-
- name: Install maturin
60-
run: pip install maturin
61-
62-
- name: Build wheel
63-
run: |
64-
export OPENBLAS_DIR=$(brew --prefix openblas)
65-
export PKG_CONFIG_PATH=$(brew --prefix openblas)/lib/pkgconfig
66-
maturin build --release --out dist --features extension-module
67-
68-
- name: Upload wheels
69-
uses: actions/upload-artifact@v4
70-
with:
71-
name: wheels-macos-x86_64-py${{ matrix.python-version }}
72-
path: dist/*.whl
73-
7438
# Build wheels on macOS ARM64 (native build)
39+
# Note: macOS x86_64 skipped - Intel runners retired, users can install from sdist
7540
build-macos-arm:
7641
name: Build macOS ARM64 wheels
7742
runs-on: macos-14
@@ -132,10 +97,10 @@ jobs:
13297
path: dist/*.tar.gz
13398

13499
# Publish to PyPI
135-
# Windows users install from sdist and get pure Python fallback
100+
# Windows and macOS x86_64 users install from sdist and get pure Python fallback
136101
publish:
137102
name: Publish to PyPI
138-
needs: [build-linux, build-macos-x86, build-macos-arm, build-sdist]
103+
needs: [build-linux, build-macos-arm, build-sdist]
139104
runs-on: ubuntu-latest
140105
environment: pypi
141106
permissions:

0 commit comments

Comments
 (0)