Skip to content

Commit 66c3f32

Browse files
authored
Merge pull request #212 from maxmind/greg/eng-2202
Update to cibuildwheel 3.0.0
2 parents c6d26d8 + 1c8f2ab commit 66c3f32

File tree

2 files changed

+47
-16
lines changed

2 files changed

+47
-16
lines changed

.github/workflows/release.yml

Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,61 @@ permissions: {}
1414

1515
jobs:
1616
build_wheels:
17-
name: Build wheels on ${{ matrix.os }}
18-
runs-on: ${{ matrix.os }}
17+
name: Build wheels for ${{ matrix.os }}
18+
runs-on: ${{ matrix.runs-on }}
1919
strategy:
2020
matrix:
21-
os: [macos-13, macos-14, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
21+
os:
22+
- ios
23+
- linux-arm
24+
- linux-intel
25+
- macos-arm
26+
- macos-intel
27+
- pyodide
28+
- windows-arm
29+
- windows-intel
30+
include:
31+
- archs: auto
32+
platform: auto
33+
- os: ios
34+
runs-on: macos-latest
35+
platform: ios
36+
- os: linux-arm
37+
runs-on: ubuntu-24.04-arm
38+
- os: linux-intel
39+
runs-on: ubuntu-latest
40+
- os: macos-intel
41+
# macos-13 was the last x86_64 runner
42+
runs-on: macos-13
43+
- os: macos-arm
44+
# macos-14+ (including latest) are ARM64 runners
45+
runs-on: macos-latest
46+
archs: auto,universal2
47+
- os: pyodide
48+
runs-on: ubuntu-latest
49+
platform: pyodide
50+
- os: windows-arm
51+
runs-on: windows-11-arm
52+
- os: windows-intel
53+
runs-on: windows-latest
2254

2355
steps:
2456
- uses: actions/checkout@v4
2557
with:
2658
submodules: true
2759
persist-credentials: false
2860

29-
- name: Set up QEMU
30-
if: runner.os == 'Linux' && runner.arch == 'X64'
31-
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # 3.6.0
32-
with:
33-
platforms: all
34-
3561
- name: Build wheels
36-
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # 2.23.3
62+
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # 3.0.0
3763
env:
38-
CIBW_BUILD_VERBOSITY: 1
64+
CIBW_ENABLE: pypy pypy-eol
65+
CIBW_PLATFORM: ${{ matrix.platform }}
66+
CIBW_ARCHS: ${{ matrix.archs }}
3967
MAXMINDDB_REQUIRE_EXTENSION: 1
40-
# configure cibuildwheel on Linux to build native archs ('auto'),
41-
# and to split the remaining architectures between the x86_64 and
42-
# ARM runners
43-
CIBW_ARCHS_LINUX: ${{ runner.arch == 'X64' && 'auto ppc64le s390x' || 'auto' }}
4468

4569
- uses: actions/upload-artifact@v4
4670
with:
47-
name: maxminddb-whl-${{ matrix.os }}
71+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
4872
path: ./wheelhouse/*.whl
4973

5074
build_sdist:

HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
History
44
-------
55

6+
2.8.0
7+
++++++++++++++++++
8+
9+
* We have updated the platforms that we build binary wheels for. In particular,
10+
we now build wheels for iOS, Windows Arm, and Pyodide, and we have dropped
11+
686 (32 bit), ppc64le, and s390x builds on Linux.
12+
613
2.7.0 (2025-05-05)
714
++++++++++++++++++
815

0 commit comments

Comments
 (0)