diff --git a/pyproject.toml b/pyproject.toml index e7bb9aaa9542b..e662c6cd42e2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "setuptools", "wheel", - "Cython>=0.29.33 and Cython<3.0", + "Cython>=0.29.33,<3.0", # use oldest-supported-numpy which provides the oldest numpy version with # wheels on PyPI