blob: fe3956c2c6807e35598f5bf169777eb0b1671604 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/pyproject.toml
2+++ b/pyproject.toml
3@@ -1,3 +1,3 @@
4 [build-system]
5-requires = ["setuptools", "wheel", "Cython<3.0"]
6+requires = ["setuptools", "wheel", "Cython"]
7 build-backend = "setuptools.build_meta"
8--- a/setup.py
9+++ b/setup.py
10@@ -82,7 +82,7 @@ if 'sdist' in sys.argv or os.environ.get
11 with_cython = True
12 try:
13 from Cython.Distutils.extension import Extension as _Extension
14- from Cython.Distutils import build_ext as _build_ext
15+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
16 with_cython = True
17 except ImportError:
18 if with_cython: