summarylogtreecommitdiffstats
path: root/cython-3.patch
blob: b16bd358d3fe1335e0cf4b4c075002f262575e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From c17063508dcab1bfe853f3fac5ab4727b3923f1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= <cr52@protonmail.com>
Date: Thu, 13 Jul 2023 14:55:40 +0200
Subject: [PATCH] BLD: switch to Cython>=3.0,<3.1

---
 pyproject.toml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index d3a8ec6119..1d52e9b038 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,10 +5,8 @@ requires = [
   # see https://github.com/numpy/numpy/pull/18389
   "wheel>=0.36.2",
 
-  # Cython 3.0 is the next version after 0.29, and a major change,
-  # we forbid it until we can properly test against it
-  # https://github.com/yt-project/yt/issues/4355
-  "Cython>=0.29.33,<3.0",
+  # see https://github.com/yt-project/yt/issues/4044
+  "Cython>=3.0, <3.1",
   "oldest-supported-numpy",
   "ewah-bool-utils>=1.0.2",
 ]