Skip to content

Commit

Permalink
Remove numpy<2 dependency (#362)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
amietn authored Nov 13, 2024
1 parent 860e2ad commit 9841666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9841666

Please sign in to comment.