From 53a835aef6d120fa1f8d1bbb8ada31a8fc45df0f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 4 Apr 2025 22:58:52 +0200 Subject: [PATCH] Update cython --- pyproject.toml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index edebbff52..06289ccab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools", - "cython>=0.25,<3.0", + "cython>=3.0,<4.0", "cymem>=2.0.2,<2.1.0", "preshed>=3.0.2,<3.1.0", "murmurhash>=0.28.0,<1.1.0", diff --git a/setup.cfg b/setup.cfg index daba8865f..bc7b6e9d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,7 +34,7 @@ python_requires = >=3.9,<3.14 # NOTE: This section is superseded by pyproject.toml and will be removed in # spaCy v4 setup_requires = - cython>=0.25,<3.0 + cython>=3.0,<4.0 numpy>=2.0.0,<3.0.0; python_version < "3.9" numpy>=2.0.0,<3.0.0; python_version >= "3.9" # We also need our Cython packages here to compile against