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
5 changes: 3 additions & 2 deletions .github/workflows/buildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if: ${{ matrix.os == 'windows-2019' }}

- name: Build wheels
uses: pypa/[email protected].3
uses: pypa/cibuildwheel@d04cacbc9866d432033b1d09142936e6a0e2121a # v2.23.2
env:
# override setting in pyproject.toml to use msys2 instead of msys64 bash
CIBW_BEFORE_ALL_WINDOWS: msys2 -c bin/cibw_before_all_windows.sh
Expand Down Expand Up @@ -86,12 +86,13 @@ jobs:
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.11', '3.12', '3.13', '3.13t'] # , 'pypy3.10']
python-version: ['3.11', '3.12', '3.13', '3.13t', 'pypy3.11']

steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: actions/download-artifact@v4
with:
name: wheels-${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ project(
flint_lower = '>=3.0'
flint_upper = '<3.3'
cython_lower = '>=3.0.11'
cython_upper = '<=3.1.0a1'
cython_upper = '<3.2'

py = import('python').find_installation(pure: false)
dep_py = py.dependency()
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ content-type = "text/markdown"
# Minimum build requirements tested in CI need to be kept in sync with the
# versions in requires below so that they are tested.
#
# To support the freethreaded build (CPython 3.13t) the alpha release 3.1.0a1
# of Cython is needed as a minimum requirement. It is possible that future
# versions of Cython might still work but typically a Cython release breaks
# something in the build of python-flint so we pin the exact version here.
# To support the freethreaded build (CPython 3.13t) version 3.1.0 of Cython is
# needed as a minimum requirement. It is possible that future versions of
# Cython might still work but typically a Cython release breaks something in
# the build of python-flint so we include an upper bound here.
#
# Apart from the freethreading build any Cython version from 3.0.11 onwards is
# fine. It is not possible to have a separate version constraint here for the
# freethreading build only though.
#
requires = ["meson-python>=0.13", "cython==3.1.0a1"]
requires = ["meson-python >= 0.13", "cython >=3.1,<3.2"]
build-backend = "mesonpy"

[tool.cython-lint]
Expand Down Expand Up @@ -82,7 +82,7 @@ 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 = "cp311-* cp312-* cp313-* cp313t-*" # pp311-*"
build = "cp311-* cp312-* cp313-* cp313t-* pp311-*"
skip = "*-win32 *-manylinux_i686 *-musllinux_*"

# Enable building for free-threaded CPython builds
Expand Down
Loading