Skip to content

Commit

Permalink
Add Linux aarch64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbenjamin committed Feb 6, 2025
1 parent e50cda6 commit b0865b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-13, macos-14]
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2019, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-13, macos-14]
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2019, macos-13, macos-14]
# This list to be kept in sync with cibuildwheel config
# and python-requires in pyproject.toml.
python-version: ['3.10', '3.11', '3.12', '3.13-dev', 'pypy3.10']
python-version: ['3.11', '3.12', '3.13', 'pypy3.10']

steps:
- uses: actions/setup-python@v5
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "python-flint"
description = "Bindings for FLINT"
version = "0.7.0a5"
# This needs to be in sync with README, cibuildwheel and CI config.
requires-python = ">= 3.10"
requires-python = ">= 3.11"
authors = [
{name = "Fredrik Johansson", email = "[email protected]"},
]
Expand Down Expand Up @@ -81,14 +81,15 @@ package = "flint"
[tool.cibuildwheel]
# requires-python needs to keep in sync with this and also the list of Python
# versions the wheels are tested against in CI.
build = "cp310-* cp311-* cp312-* cp313-* pp310-*"
build = "cp311-* cp312-* cp313-* pp310-*"
skip = "*-win32 *-manylinux_i686 *-musllinux_*"

# This is needed for free-threaded wheels:
# build = "cp313t-*"
# free-threaded-support = true

manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
test-command = "python -c \"import flint; print(str(flint.fmpz(2)))\""

Expand Down

0 comments on commit b0865b3

Please sign in to comment.