Skip to content

Commit dad023a

Browse files
committed
Upgrade Cython and build more wheels.
1 parent 65eb7e6 commit dad023a

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/checkout@v5
7272
- name: Install cibuildwheel
7373
# Nb. keep cibuildwheel version pin consistent with job below
74-
run: pipx install cibuildwheel==3.0.0
74+
run: pipx install cibuildwheel==3.1.4
7575
- id: set-matrix
7676
run: |
7777
MATRIX=$(
@@ -83,6 +83,8 @@ jobs:
8383
| jq -nRc '{"only": inputs, "os": "macos-latest"}' \
8484
&& cibuildwheel --print-build-identifiers --platform windows \
8585
| jq -nRc '{"only": inputs, "os": "windows-2022"}'
86+
&& cibuildwheel --print-build-identifiers --platform windows --archs ARM64 \
87+
| jq -nRc '{"only": inputs, "os": "windows-11-arm"}'
8688
} | jq -sc
8789
)
8890
echo "include=$MATRIX" >> $GITHUB_OUTPUT
@@ -118,9 +120,10 @@ jobs:
118120
uses: pypa/[email protected]
119121
env:
120122
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_34
121-
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_34
123+
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_34 # manylinux_2_39 ?
122124
CIBW_MANYLINUX_PPC64LE_IMAGE: manylinux_2_34
123125
CIBW_MANYLINUX_S390X_IMAGE: manylinux_2_34
126+
CIBW_MANYLINUX_RISCV64_IMAGE: manylinux_2_39
124127
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_34
125128
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux_2_34
126129
CIBW_MUSLLINUX_X86_64_IMAGE: musllinux_1_2

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ ChangeLog
77
* A choice of different GCD implementations is available via ``quicktions.use_gcd_impl()``.
88
The fastest one on the current machine is chosen at import time.
99

10+
* Built using Cython 3.1.3.
11+
1012

1113
1.21 (2025-06-13)
1214
-----------------

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["Cython>=3.1.2", "setuptools", "wheel"]
2+
requires = ["Cython>=3.1.3", "setuptools", "wheel"]
33

44
[tool.cibuildwheel]
55
build-verbosity = 2
@@ -8,7 +8,7 @@ enable =["cpython-freethreading", "cpython-prerelease"]
88
# test-command = "python -m unittest {package}/test_fractions.py -p -v"
99

1010
[tool.cibuildwheel.linux]
11-
archs = ["x86_64", "aarch64", "i686", "armv7l"]
11+
archs = ["x86_64", "aarch64", "i686", "ppc64le", "armv7l", "riscv64"]
1212
repair-wheel-command = "auditwheel repair --strip -w {dest_dir} {wheel}"
1313

1414
[tool.cibuildwheel.linux.environment]
@@ -20,12 +20,12 @@ RANLIB = "gcc-ranlib"
2020
[[tool.cibuildwheel.overrides]]
2121
select = "*linux_i686"
2222
inherit.environment = "append"
23-
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -mtune=generic"
23+
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -mtune=generic -mno-ssse3"
2424

2525
[[tool.cibuildwheel.overrides]]
2626
select = "*linux_x86_64"
2727
inherit.environment = "append"
28-
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -msse4.1 -msse4.2 -mtune=generic"
28+
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -mtune=generic -mno-ssse3"
2929

3030
[[tool.cibuildwheel.overrides]]
3131
select = "*aarch64"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tox
22
pytest
33
coverage
4-
Cython>=3.1.2
4+
Cython>=3.1.3
55
codecov
66
wheel

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312,313}
2+
envlist = py{38,39,310,311,312,313,314}
33

44
[testenv]
55
platform =
66
windows: win32
77
linux: linux
88
darwin: darwin
99
deps =
10-
Cython==3.0.11
10+
Cython==3.1.3
1111
pytest
1212
#pytest-cov
1313
#coverage

0 commit comments

Comments
 (0)