Skip to content

Commit

Permalink
BLD: add a Cython <3.0 constraint on Windows (32-bit Python tests crash)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Sep 17, 2023
1 parent 05492d8 commit b94f0c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
build-backend = "mesonpy"
requires = [
"meson-python>=0.14.0",
"Cython>=0.29.35", # when updating version, also update check in meson.build
# when updating Cython version, also update check in meson.build
"Cython>=0.29.35,<3.0; python_version>='3.12' and platform_system=='Windows'",
"Cython>=0.29.35; python_version<'3.12' or platform_system!='Windows'",

# When numpy 2.0.0rc1 comes out, we should update this to build against 2.0,
# and then runtime depend on the range 1.22.X to <2.3.
Expand Down

0 comments on commit b94f0c5

Please sign in to comment.