From 28a7e8d4d10fb2c9b63d87953a8d4ee3db046e05 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_requires.txt b/install_requires.txt index fada4046..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