Skip to content

Commit

Permalink
Tighten dependency constraint only adapting latest patches (#2607)
Browse files Browse the repository at this point in the history
* tighten dependency constratint only adapting latest patches

* adjust scikit-image version w.r.t python version

* adjust tensorboard version w.r.t python version

* remove version specifier for scikit-image
  • Loading branch information
yunchu authored Nov 9, 2023
1 parent 8559def commit 0d9dff8
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 35 deletions.
12 changes: 6 additions & 6 deletions requirements/api.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# API Requirements. #
attrs>=21.2.0
attrs==23.1.*
networkx>=2.6,<=2.8.0
numpy>=1.21.0,<=1.23.4 # np.bool was removed in 1.24.0 which was used in openvino runtime
omegaconf>=2.1.1
opencv-python>=4.5
pymongo
scikit-learn>=1.0.2
omegaconf==2.3.*
opencv-python==4.8.1.*
pymongo==4.6.*
scikit-learn==1.3.*
Shapely>=1.7.1,<=1.8.0
imagesize==1.4.1
dill>=0.3.6
dill==0.3.*
17 changes: 9 additions & 8 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Base Algo Requirements. #
natsort>=6.0.0
prettytable
protobuf>=3.20.0
natsort==8.4.*
prettytable==3.9.*
protobuf==3.20.*
pyyaml
datumaro==1.5.1rc3
psutil
scipy>=1.8
bayesian-optimization>=1.2.0
tensorboard>=2.11.0
multiprocess
psutil==5.9.*
scipy==1.10.*
bayesian-optimization==1.4.*
tensorboard==2.15.*; python_version >= '3.9'
tensorboard==2.14.*; python_version < '3.9'
multiprocess==0.70.*
2 changes: 1 addition & 1 deletion requirements/classification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ mmcv-full==1.7.0
mmcls==0.25.0
timm==0.6.12
mmdeploy==0.14.0
pytorchcv
pytorchcv==0.0.67
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
4 changes: 2 additions & 2 deletions requirements/detection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Detection Requirements.
mmcv-full==1.7.0
mmdet==2.28.1
pytorchcv
pytorchcv==0.0.67
mmcls==0.25.0
timm==0.6.12
mmdeploy==0.14.0
mmengine==0.7.4
scikit-image
scikit-image # specifying different version w.r.t python_version is not effect
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
14 changes: 7 additions & 7 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Development Requirements. #
pre-commit==2.20.0
pylint
pytest
coverage
pytest-timeout
pytest-mock
pylint==3.0.*
pytest==7.4.*
coverage==7.3.*
pytest-timeout==2.2.*
pytest-mock==3.12.*
onnx==1.13.0
onnxruntime==1.14.1
pytest-csv
tox>=4.5.1.1
pytest-csv==3.0.*
tox==4.11.*
14 changes: 7 additions & 7 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
furo
myst-parser
furo==2023.3.*
myst-parser==1.0.*
sphinx==5.3.0
pydata-sphinx-theme==0.12.0
sphinx-tabs
sphinx-panels
sphinx-tabs==3.4.*
sphinx-panels==0.4.*
sphinx-copybutton==0.5.0
sphinx-autoapi
sphinxemoji
nbsphinx
sphinx-autoapi==2.1.*
sphinxemoji==0.2.*
nbsphinx==0.9.*
2 changes: 1 addition & 1 deletion requirements/openvino.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ onnx==1.13.0
openvino-model-api==0.1.6
openvino==2023.0
openvino-dev==2023.0
openvino-telemetry>=2022.1.0
openvino-telemetry==2023.2.*
4 changes: 2 additions & 2 deletions requirements/segmentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Segmentation Requirements.
mmcv-full==1.7.0
mmsegmentation==0.30.0
scikit-image
scikit-image # specifying different version w.r.t python_version is not effect
mmdeploy==0.14.0
timm==0.6.12
pytorchcv
pytorchcv==0.0.67
einops==0.6.1
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
2 changes: 1 addition & 1 deletion requirements/visual_prompting.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Visual Prompting Requirements.
scikit-image
scikit-image # specifying different version w.r.t python_version is not effect
pytorch-lightning>=1.7.0,<1.10.0

0 comments on commit 0d9dff8

Please sign in to comment.