Skip to content

Commit 0ee0b6f

Browse files
committed
BLD: update minimum Cython version to 3.0.6
Needed to include the bug fix for using complex types with C11 (Cython PR 5809).
1 parent 95f8b6c commit 0ee0b6f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build_requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
meson-python>=0.13.1
2-
Cython>=3.0
2+
Cython>=3.0.6
33
ninja
44
spin==0.8
55
build

meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ elif cc.get_id() == 'msvc'
3333
'when building with MSVC')
3434
endif
3535
endif
36-
if not cy.version().version_compare('>=0.29.34')
37-
error('NumPy requires Cython >= 0.29.34')
36+
if not cy.version().version_compare('>=3.0.6')
37+
error('NumPy requires Cython >= 3.0.6')
3838
endif
3939

4040
py = import('python').find_installation(pure: false)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "mesonpy"
33
requires = [
44
"meson-python>=0.15.0",
5-
"Cython>=3.0",
5+
"Cython>=3.0.6", # keep in sync with version check in meson.build
66
]
77

88
[project]

0 commit comments

Comments
 (0)