From 184e508d9c8db6fc89c60e5ec8e94324817259c9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 11 Sep 2024 15:56:33 +0200 Subject: [PATCH] Update numpy pin --- pyproject.toml | 6 +++--- requirements.txt | 4 ++-- setup.cfg | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 07ffe1677..2c2221706 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,9 @@ requires = [ "cymem>=2.0.2,<2.1.0", "preshed>=3.0.2,<3.1.0", "murmurhash>=0.28.0,<1.1.0", - "thinc>=8.2.2,<8.3.0", - "numpy>=1.15.0; python_version < '3.9'", - "numpy>=1.25.0; python_version >= '3.9'", + "thinc>=8.3.0,<8.4.0", + "numpy>=2.0.0,<2.1.0; python_version < '3.9'", + "numpy>=2.0.0,<2.1.0; python_version >= '3.9'", ] build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt index 7e7144d53..b61715a8f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,8 +12,8 @@ catalogue>=2.0.6,<2.1.0 typer>=0.3.0,<1.0.0 weasel>=0.1.0,<0.5.0 # Third party dependencies -numpy>=1.15.0; python_version < "3.9" -numpy>=1.19.0; python_version >= "3.9" +numpy>=2.0.0; python_version < "3.9" +numpy>=2.0.0; python_version >= "3.9" requests>=2.13.0,<3.0.0 tqdm>=4.38.0,<5.0.0 pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 diff --git a/setup.cfg b/setup.cfg index 2917f67ed..1857accf5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,13 +36,13 @@ python_requires = >=3.7 # spaCy v4 setup_requires = cython>=0.25,<3.0 - numpy>=1.15.0; python_version < "3.9" - numpy>=1.19.0; python_version >= "3.9" + numpy>=2.0.0,<2.1.0; python_version < "3.9" + numpy>=2.0.0,<2.1.0; python_version >= "3.9" # We also need our Cython packages here to compile against cymem>=2.0.2,<2.1.0 preshed>=3.0.2,<3.1.0 murmurhash>=0.28.0,<1.1.0 - thinc>=8.2.2,<8.3.0 + thinc>=8.3.0,<8.4.0 install_requires = # Our libraries spacy-legacy>=3.0.11,<3.1.0