Skip to content

Commit 0d9dff8

Browse files
authored
Tighten dependency constraint only adapting latest patches (#2607)
* 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
1 parent 8559def commit 0d9dff8

File tree

9 files changed

+36
-35
lines changed

9 files changed

+36
-35
lines changed

requirements/api.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
22
# API Requirements. #
3-
attrs>=21.2.0
3+
attrs==23.1.*
44
networkx>=2.6,<=2.8.0
55
numpy>=1.21.0,<=1.23.4 # np.bool was removed in 1.24.0 which was used in openvino runtime
6-
omegaconf>=2.1.1
7-
opencv-python>=4.5
8-
pymongo
9-
scikit-learn>=1.0.2
6+
omegaconf==2.3.*
7+
opencv-python==4.8.1.*
8+
pymongo==4.6.*
9+
scikit-learn==1.3.*
1010
Shapely>=1.7.1,<=1.8.0
1111
imagesize==1.4.1
12-
dill>=0.3.6
12+
dill==0.3.*

requirements/base.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
22
# Base Algo Requirements. #
3-
natsort>=6.0.0
4-
prettytable
5-
protobuf>=3.20.0
3+
natsort==8.4.*
4+
prettytable==3.9.*
5+
protobuf==3.20.*
66
pyyaml
77
datumaro==1.5.1rc3
8-
psutil
9-
scipy>=1.8
10-
bayesian-optimization>=1.2.0
11-
tensorboard>=2.11.0
12-
multiprocess
8+
psutil==5.9.*
9+
scipy==1.10.*
10+
bayesian-optimization==1.4.*
11+
tensorboard==2.15.*; python_version >= '3.9'
12+
tensorboard==2.14.*; python_version < '3.9'
13+
multiprocess==0.70.*

requirements/classification.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ mmcv-full==1.7.0
44
mmcls==0.25.0
55
timm==0.6.12
66
mmdeploy==0.14.0
7-
pytorchcv
7+
pytorchcv==0.0.67
88
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved

requirements/detection.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Detection Requirements.
33
mmcv-full==1.7.0
44
mmdet==2.28.1
5-
pytorchcv
5+
pytorchcv==0.0.67
66
mmcls==0.25.0
77
timm==0.6.12
88
mmdeploy==0.14.0
99
mmengine==0.7.4
10-
scikit-image
10+
scikit-image # specifying different version w.r.t python_version is not effect
1111
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved

requirements/dev.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
22
# Development Requirements. #
33
pre-commit==2.20.0
4-
pylint
5-
pytest
6-
coverage
7-
pytest-timeout
8-
pytest-mock
4+
pylint==3.0.*
5+
pytest==7.4.*
6+
coverage==7.3.*
7+
pytest-timeout==2.2.*
8+
pytest-mock==3.12.*
99
onnx==1.13.0
1010
onnxruntime==1.14.1
11-
pytest-csv
12-
tox>=4.5.1.1
11+
pytest-csv==3.0.*
12+
tox==4.11.*

requirements/docs.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
furo
2-
myst-parser
1+
furo==2023.3.*
2+
myst-parser==1.0.*
33
sphinx==5.3.0
44
pydata-sphinx-theme==0.12.0
5-
sphinx-tabs
6-
sphinx-panels
5+
sphinx-tabs==3.4.*
6+
sphinx-panels==0.4.*
77
sphinx-copybutton==0.5.0
8-
sphinx-autoapi
9-
sphinxemoji
10-
nbsphinx
8+
sphinx-autoapi==2.1.*
9+
sphinxemoji==0.2.*
10+
nbsphinx==0.9.*

requirements/openvino.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ onnx==1.13.0
55
openvino-model-api==0.1.6
66
openvino==2023.0
77
openvino-dev==2023.0
8-
openvino-telemetry>=2022.1.0
8+
openvino-telemetry==2023.2.*

requirements/segmentation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# Segmentation Requirements.
33
mmcv-full==1.7.0
44
mmsegmentation==0.30.0
5-
scikit-image
5+
scikit-image # specifying different version w.r.t python_version is not effect
66
mmdeploy==0.14.0
77
timm==0.6.12
8-
pytorchcv
8+
pytorchcv==0.0.67
99
einops==0.6.1
1010
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved

requirements/visual_prompting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
22
# Visual Prompting Requirements.
3-
scikit-image
3+
scikit-image # specifying different version w.r.t python_version is not effect
44
pytorch-lightning>=1.7.0,<1.10.0

0 commit comments

Comments
 (0)