Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 40 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,61 @@ permissions: {}

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Build wheels for ${{ matrix.os }}
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
os: [macos-13, macos-14, ubuntu-24.04-arm, ubuntu-latest, windows-latest]
os:
- ios
- linux-arm
- linux-intel
- macos-arm
- macos-intel
- pyodide
- windows-arm
- windows-intel
include:
- archs: auto
platform: auto
- os: ios
runs-on: macos-latest
platform: ios
- os: linux-arm
runs-on: ubuntu-24.04-arm
- os: linux-intel
runs-on: ubuntu-latest
- os: macos-intel
# macos-13 was the last x86_64 runner
runs-on: macos-13
- os: macos-arm
# macos-14+ (including latest) are ARM64 runners
runs-on: macos-latest
archs: auto,universal2
- os: pyodide
runs-on: ubuntu-latest
platform: pyodide
- os: windows-arm
runs-on: windows-11-arm
- os: windows-intel
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false

- name: Set up QEMU
if: runner.os == 'Linux' && runner.arch == 'X64'
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # 3.6.0
with:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # 2.23.3
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # 3.0.0
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_ENABLE: pypy pypy-eol
CIBW_PLATFORM: ${{ matrix.platform }}
CIBW_ARCHS: ${{ matrix.archs }}
MAXMINDDB_REQUIRE_EXTENSION: 1
# configure cibuildwheel on Linux to build native archs ('auto'),
# and to split the remaining architectures between the x86_64 and
# ARM runners
CIBW_ARCHS_LINUX: ${{ runner.arch == 'X64' && 'auto ppc64le s390x' || 'auto' }}

- uses: actions/upload-artifact@v4
with:
name: maxminddb-whl-${{ matrix.os }}
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
History
-------

2.8.0
++++++++++++++++++

* We have updated the platforms that we build binary wheels for. In particular,
we now build wheels for iOS, Windows Arm, and Pyodide, and we have dropped
686 (32 bit), ppc64le, and s390x builds on Linux.

2.7.0 (2025-05-05)
++++++++++++++++++

Expand Down
Loading