Skip to content

Commit e49c1fa

Browse files
authored
[MAINT] Pinning Cython to <3.1 temporarily (#5056)
- pin cython to <3.1
1 parent 550e3ac commit e49c1fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/gh-ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
full-deps: ${{ matrix.full-deps }}
9393
# disable GSD because it occasionally introduce hanging in testing #4209
9494
gsd: ''
95+
# pin cython
96+
cython: 'cython<3.1'
9597
# in most cases will just default to empty, i.e. pick up max version from other deps
9698
numpy: ${{ matrix.numpy }}
9799
extra-pip-deps: ${{ matrix.extra-pip-deps }}

package/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
# Minimum requirements for the build system to execute
33
requires = [
4-
"Cython>=0.28",
4+
"Cython>=0.28,<3.1",
55
"packaging",
66
# numpy requirement for wheel builds for distribution on PyPI - building
77
# against 2.x yields wheels that are also compatible with numpy 1.x at

0 commit comments

Comments
 (0)