From 9841666bd536f755221a385b1d7b4024779bec1a Mon Sep 17 00:00:00 2001 From: amietn Date: Wed, 13 Nov 2024 11:43:02 +0100 Subject: [PATCH] Remove numpy<2 dependency (#362) This causes an incompatibility with spaCy because no matching versions of numpy can be found when using both libraries at once. It looks like the tests pass again without the numpy<2 requirement so there is no reason to keep this requirement anymore. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2b2329e0..af4bcfe9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,8 +20,8 @@ tokenizers = ">=0.15,<1.0" huggingface-hub = ">=0.20,<1.0" loguru = "^0.7.2" numpy = [ - { version = ">=1.21, <2", python = "<3.12" }, - { version = ">=1.26, <2", python = ">=3.12" } + { version = ">=1.21", python = "<3.12" }, + { version = ">=1.26", python = ">=3.12" } ] pillow = "^10.3.0" mmh3 = "^4.1.0"