diff --git a/requirements.txt b/requirements.txt index f99b82972d..7f2fe19f2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -167,7 +167,7 @@ natsort==8.4.0 nest-asyncio==1.6.0 networkx==3.2.1 ninja==1.11.1.1 -nltk==3.8.1 +nltk==3.9 nncf==2.13.0 nodeenv==1.9.1 NudeNet==2.0.9 @@ -179,7 +179,7 @@ onnxruntime==1.19.2 open_clip_torch==2.26.1 openai==1.48.0 OpenCC==1.1.6 -opencv-python==4.7.0.72 +opencv-python==4.8.1.78 opencv-python-headless==4.10.0.84 openvino==2024.4.0 openvino-telemetry==2024.1.0 @@ -276,7 +276,7 @@ soupsieve==2.6 spacy==3.7.6 spacy-legacy==3.0.12 spacy-loggers==1.0.5 -sqlitedict==1.7.0 +sqlitedict==2.1.0 srsly==2.4.8 surge-api==1.1.4 sympy==1.11.1 diff --git a/setup.cfg b/setup.cfg index 85bf4e10ba..fe0f297294 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,7 +39,7 @@ install_requires= zstandard~=0.18.0 # sqlitedict==2.0.0 is slow! https://github.com/RaRe-Technologies/sqlitedict/issues/152 # Keep sqlitedict version at 1.7.0. - sqlitedict~=1.7 + sqlitedict>=1.7,<3.0 bottle~=0.12.23 # Basic Scenarios @@ -48,7 +48,7 @@ install_requires= pyarrow-hotfix~=0.6 # Hotfix for CVE-2023-47248 # Basic metrics - nltk~=3.7,<3.8.2 # See https://github.com/stanford-crfm/helm/issues/2926 + nltk>=3.7,<4.0 # See https://github.com/stanford-crfm/helm/issues/2926 rouge-score~=0.1.2 scipy~=1.10 uncertainty-calibration~=0.1.4 @@ -218,7 +218,7 @@ image2struct = html2text~=2024.2.26 # Metrics - opencv-python~=4.7.0.68 + opencv-python>=4.7.0.68,<4.8.2.0 lpips~=0.1.4 imagehash~=4.3.1 # for caching @@ -254,7 +254,7 @@ heim = lpips~=0.1.4 multilingual-clip~=1.0.10 NudeNet~=2.0.9 - opencv-python~=4.7.0.68 + opencv-python>=4.7.0.68,<4.8.2.0 pytorch-fid~=0.3.0 tensorflow~=2.11 timm~=0.6.12