File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Building NumPy requires the following installed software:
2020 e.g., on Debian/Ubuntu one needs to install both `python3 ` and
2121 `python3-dev `. On Windows and macOS this is normally not an issue.
2222
23- 2) Cython >= 3.0.6
23+ 2) Cython >= 3.1.0
2424
25253) pytest __ (optional)
2626
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ elif cc.get_id() == 'msvc'
3030 ' when building with MSVC' )
3131 endif
3232endif
33- if not cy.version().version_compare(' >=3.0.6 ' )
34- error (' NumPy requires Cython >= 3.0.6 ' )
33+ if not cy.version().version_compare(' >=3.1.0 ' )
34+ error (' NumPy requires Cython >= 3.1.0 ' )
3535endif
3636
3737py = import (' python' ).find_installation(pure : false )
Original file line number Diff line number Diff line change @@ -6,14 +6,11 @@ cc = meson.get_compiler('c')
66cy = meson .get_compiler(' cython' )
77
88# Keep synced with pyproject.toml
9- if not cy.version().version_compare(' >=3.0.6 ' )
10- error (' tests requires Cython >= 3.0.6 ' )
9+ if not cy.version().version_compare(' >=3.1.0 ' )
10+ error (' tests requires Cython >= 3.1.0 ' )
1111endif
1212
13- cython_args = []
14- if cy.version().version_compare(' >=3.1.0' )
15- cython_args += [' -Xfreethreading_compatible=True' ]
16- endif
13+ cython_args = [' -Xfreethreading_compatible=True' ]
1714
1815npy_include_path = run_command (py, [
1916 ' -c' ,
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ cc = meson.get_compiler('c')
66cy = meson .get_compiler(' cython' )
77
88# Keep synced with pyproject.toml
9- if not cy.version().version_compare(' >=3.0.6 ' )
10- error (' tests requires Cython >= 3.0.6 ' )
9+ if not cy.version().version_compare(' >=3.1.0 ' )
10+ error (' tests requires Cython >= 3.1.0 ' )
1111endif
1212
1313npy_include_path = run_command (py, [
Original file line number Diff line number Diff line change 1919 from numpy ._utils import _pep440
2020
2121 # Note: keep in sync with the one in pyproject.toml
22- required_version = "3.0.6 "
22+ required_version = "3.1.0 "
2323 if _pep440 .parse (cython_version ) < _pep440 .Version (required_version ):
2424 # too old or wrong cython, skip the test
2525 cython = None
Original file line number Diff line number Diff line change 1717 from numpy ._utils import _pep440
1818
1919 # Note: keep in sync with the one in pyproject.toml
20- required_version = "3.0.6 "
20+ required_version = "3.1.0 "
2121 if _pep440 .parse (cython_version ) < _pep440 .Version (required_version ):
2222 # too old or wrong cython, skip the test
2323 cython = None
Original file line number Diff line number Diff line change @@ -7,14 +7,11 @@ cc = meson.get_compiler('c')
77cy = meson .get_compiler(' cython' )
88
99# Keep synced with pyproject.toml
10- if not cy.version().version_compare(' >=3.0.6 ' )
11- error (' tests requires Cython >= 3.0.6 ' )
10+ if not cy.version().version_compare(' >=3.1.0 ' )
11+ error (' tests requires Cython >= 3.1.0 ' )
1212endif
1313
14- base_cython_args = []
15- if cy.version().version_compare(' >=3.1.0' )
16- base_cython_args += [' -Xfreethreading_compatible=True' ]
17- endif
14+ base_cython_args = [' -Xfreethreading_compatible=True' ]
1815
1916_numpy_abs = run_command (py3, [' -c' ,
2017 ' import os; os.chdir(".."); import numpy; print(os.path.abspath(numpy.get_include() + "../../.."))' ],
Original file line number Diff line number Diff line change 3838else :
3939 from numpy ._utils import _pep440
4040 # Note: keep in sync with the one in pyproject.toml
41- required_version = '3.0.6 '
41+ required_version = '3.1.0 '
4242 if _pep440 .parse (cython_version ) < _pep440 .Version (required_version ):
4343 # too old or wrong cython, skip the test
4444 cython = None
Original file line number Diff line number Diff line change 22build-backend = " mesonpy"
33requires = [
44 " meson-python>=0.18.0" ,
5- " Cython>=3.0.6 " , # keep in sync with version check in meson.build
5+ " Cython>=3.1.0 " , # keep in sync with version check in meson.build
66]
77
88[project ]
Original file line number Diff line number Diff line change 11meson-python>=0.13.1
2- Cython>=3.0.6
2+ Cython>=3.1.0
33ninja
44spin==0.15
55build
You can’t perform that action at this time.
0 commit comments