From 38a60e3e6e629b60360a20804c22de4f689530a1 Mon Sep 17 00:00:00 2001 From: Mart Ratas Date: Wed, 9 Oct 2024 09:58:15 +0100 Subject: [PATCH] CU-869637yfx: Pin spacy dependency to lower than 3.8 (#494) --- install_requires.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_requires.txt b/install_requires.txt index ebd380c6..77b61082 100644 --- a/install_requires.txt +++ b/install_requires.txt @@ -1,7 +1,7 @@ 'numpy>=1.22.0,<1.26.0' # 1.22.0 is first to support python 3.11; post 1.26.0 there's issues with scipy 'pandas>=1.4.2' # first to support 3.11 'gensim>=4.3.0,<5.0.0' # 5.3.0 is first to support 3.11; avoid major version bump -'spacy>=3.6.0,<4.0.0' # Some later model packs (e.g HPO) are made with 3.6.0 spacy model; avoid major version bump +'spacy>=3.6.0,<3.8.0' # 3.8 only supports numpy2 which we can't use due to other dependencies 'scipy~=1.9.2' # 1.9.2 is first to support 3.11 'transformers>=4.34.0,<5.0.0' # avoid major version bump 'accelerate>=0.23.0' # required by Trainer class in de-id @@ -21,4 +21,4 @@ 'click>=8.0.4' # allow later versions, tested with 8.1.3 'pydantic>=1.10.0,<2.0' # for spacy compatibility; avoid 2.0 due to breaking changes "humanfriendly~=10.0" # for human readable file / RAM sizes -"peft>=0.8.2" \ No newline at end of file +"peft>=0.8.2"