Skip to content

Commit 41e025b

Browse files
authored
demos: allow newer scikit-learn version. Only image_retrieval_demo depends on it. (#3602)
* demos: allow newer scikit-learn version. Only image_retrieval_demo depends on it. * py ci/update-requirements.py --upgrade The updated is required by github vul scan
1 parent c2c67fc commit 41e025b

9 files changed

+316
-342
lines changed

ci/requirements-ac-test.txt

Lines changed: 49 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,48 @@
11
# use update-requirements.py to update this file
22

3-
atomicwrites==1.4.0
3+
atomicwrites==1.4.1
44
# via -r tools/accuracy_checker/requirements-test.in
5-
attrs==21.2.0
5+
attrs==22.1.0
66
# via pytest
7-
certifi==2021.5.30
7+
certifi==2022.9.24
88
# via requests
9-
charset-normalizer==2.0.4
9+
charset-normalizer==2.1.1
1010
# via requests
11-
click==8.0.1
12-
# via
13-
# nltk
14-
# sacremoses
15-
decorator==4.4.2
16-
# via networkx
11+
click==8.1.3
12+
# via nltk
1713
defusedxml==0.7.1
1814
# via -r tools/accuracy_checker/requirements-core.in
19-
fast-ctc-decode==0.3.0
15+
fast-ctc-decode==0.3.2
2016
# via -r tools/accuracy_checker/requirements-extra.in
21-
filelock==3.0.12
17+
filelock==3.8.0
2218
# via
2319
# huggingface-hub
2420
# transformers
25-
huggingface-hub==0.0.16
21+
huggingface-hub==0.11.0
2622
# via transformers
27-
idna==3.2
23+
idna==3.4
2824
# via requests
2925
imagecodecs==2022.2.22 ; python_version >= "3.8"
3026
# via -r tools/accuracy_checker/requirements-extra.in
31-
imageio==2.9.0
27+
imageio==2.22.4
3228
# via scikit-image
33-
joblib==1.0.1
29+
joblib==1.2.0
3430
# via
3531
# nltk
36-
# sacremoses
3732
# scikit-learn
38-
lmdb==1.2.1
33+
lmdb==1.3.0
3934
# via -r tools/accuracy_checker/requirements-extra.in
40-
more-itertools==8.9.0
35+
more-itertools==9.0.0
4136
# via pytest
42-
networkx==2.5.1 ; python_version >= "3.7"
37+
networkx==2.8 ; python_version >= "3.7"
4338
# via
4439
# -r tools/accuracy_checker/requirements-extra.in
4540
# scikit-image
46-
nibabel==3.2.1
41+
nibabel==4.0.2
4742
# via -r tools/accuracy_checker/requirements-extra.in
48-
nltk==3.6.2
43+
nltk==3.7
4944
# via -r tools/accuracy_checker/requirements-extra.in
50-
numpy==1.19.5
45+
numpy==1.23.1
5146
# via
5247
# -r tools/accuracy_checker/requirements-core.in
5348
# imagecodecs
@@ -62,35 +57,35 @@ numpy==1.19.5
6257
# scipy
6358
# tifffile
6459
# transformers
65-
openvino-telemetry==2022.1.0
60+
openvino-telemetry==2022.1.1
6661
# via -r tools/accuracy_checker/requirements-core.in
67-
packaging==21.0
62+
packaging==21.3
6863
# via
6964
# huggingface-hub
7065
# nibabel
7166
# pytest
7267
# scikit-image
7368
# transformers
74-
pandas==1.1.5
69+
pandas==1.3.5
7570
# via -r tools/accuracy_checker/requirements-extra.in
76-
parasail==1.2.4 ; platform_system != "Windows"
71+
parasail==1.3.3 ; platform_system != "Windows"
7772
# via -r tools/accuracy_checker/requirements-extra.in
78-
pillow==8.3.2
73+
pillow==9.3.0
7974
# via
8075
# -r tools/accuracy_checker/requirements-core.in
8176
# imageio
8277
# scikit-image
8378
pluggy==0.13.1
8479
# via pytest
85-
py==1.10.0
80+
py==1.11.0
8681
# via pytest
87-
py-cpuinfo==8.0.0
82+
py-cpuinfo==9.0.0
8883
# via -r tools/accuracy_checker/requirements-extra.in
89-
pyclipper==1.3.0
84+
pyclipper==1.3.0.post4
9085
# via -r tools/accuracy_checker/requirements-extra.in
91-
pydicom==2.2.1
86+
pydicom==2.3.1
9287
# via -r tools/accuracy_checker/requirements-extra.in
93-
pyparsing==2.4.7
88+
pyparsing==3.0.9
9489
# via packaging
9590
pytest==5.4.3
9691
# via
@@ -100,65 +95,63 @@ pytest-mock==2.0.0
10095
# via -r tools/accuracy_checker/requirements-test.in
10196
python-dateutil==2.8.2
10297
# via pandas
103-
pytz==2021.1
98+
pytz==2022.6
10499
# via pandas
105-
pywavelets==1.1.1
100+
pywavelets==1.4.1
106101
# via scikit-image
107-
pyyaml==5.4.1
102+
pyyaml==6.0
108103
# via
109104
# -r tools/accuracy_checker/requirements-core.in
105+
# huggingface-hub
110106
# transformers
111-
rawpy==0.17.2 ; python_version >= "3.7"
107+
rawpy==0.17.3 ; python_version >= "3.7"
112108
# via -r tools/accuracy_checker/requirements-extra.in
113-
regex==2021.8.28
109+
regex==2022.10.31
114110
# via
115111
# nltk
116-
# sacremoses
117112
# transformers
118-
requests==2.26.0
113+
requests==2.28.1
119114
# via
120115
# huggingface-hub
121116
# openvino-telemetry
122117
# transformers
123-
sacremoses==0.0.45
124-
# via transformers
125118
scikit-image==0.19.3 ; python_version >= "3.7"
126119
# via -r tools/accuracy_checker/requirements-extra.in
127120
scikit-learn==0.24.2
128121
# via -r tools/accuracy_checker/requirements-extra.in
129-
scipy==1.5.4
122+
scipy==1.8.0
130123
# via
131124
# -r tools/accuracy_checker/requirements-extra.in
132125
# scikit-image
133126
# scikit-learn
134-
sentencepiece==0.1.96
127+
sentencepiece==0.1.97
135128
# via -r tools/accuracy_checker/requirements-extra.in
136-
shapely==1.7.1
129+
shapely==1.8.5.post1
137130
# via -r tools/accuracy_checker/requirements-extra.in
138131
six==1.16.0
139-
# via
140-
# python-dateutil
141-
# sacremoses
142-
threadpoolctl==2.2.0
132+
# via python-dateutil
133+
threadpoolctl==3.1.0
143134
# via scikit-learn
144-
tifffile==2020.9.3
135+
tifffile==2022.10.10
145136
# via scikit-image
146-
tokenizers==0.10.3 ; python_version >= "3.7"
137+
tokenizers==0.13.2 ; python_version >= "3.7"
147138
# via
148139
# -r tools/accuracy_checker/requirements-extra.in
149140
# transformers
150-
tqdm==4.62.2
141+
tqdm==4.64.1
151142
# via
152143
# -r tools/accuracy_checker/requirements-extra.in
153144
# huggingface-hub
154145
# nltk
155-
# sacremoses
156146
# transformers
157-
transformers==4.10.0 ; python_version >= "3.7"
147+
transformers==4.24.0 ; python_version >= "3.7"
158148
# via -r tools/accuracy_checker/requirements-extra.in
159-
typing-extensions==3.10.0.2
149+
typing-extensions==4.4.0
160150
# via huggingface-hub
161-
urllib3==1.26.6
151+
urllib3==1.26.12
162152
# via requests
163153
wcwidth==0.2.5
164154
# via pytest
155+
156+
# The following packages are considered to be unsafe in a requirements file:
157+
# setuptools

ci/requirements-ac.txt

Lines changed: 45 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,42 @@
11
# use update-requirements.py to update this file
22

3-
certifi==2021.5.30
3+
certifi==2022.9.24
44
# via requests
5-
charset-normalizer==2.0.4
5+
charset-normalizer==2.1.1
66
# via requests
7-
click==8.0.1
8-
# via
9-
# nltk
10-
# sacremoses
11-
decorator==4.4.2
12-
# via networkx
7+
click==8.1.3
8+
# via nltk
139
defusedxml==0.7.1
1410
# via -r tools/accuracy_checker/requirements-core.in
15-
fast-ctc-decode==0.3.0
11+
fast-ctc-decode==0.3.2
1612
# via -r tools/accuracy_checker/requirements-extra.in
17-
filelock==3.0.12
13+
filelock==3.8.0
1814
# via
1915
# huggingface-hub
2016
# transformers
21-
huggingface-hub==0.0.16
17+
huggingface-hub==0.11.0
2218
# via transformers
23-
idna==3.2
19+
idna==3.4
2420
# via requests
2521
imagecodecs==2022.2.22 ; python_version >= "3.8"
2622
# via -r tools/accuracy_checker/requirements-extra.in
27-
imageio==2.9.0
23+
imageio==2.22.4
2824
# via scikit-image
29-
joblib==1.0.1
25+
joblib==1.2.0
3026
# via
3127
# nltk
32-
# sacremoses
3328
# scikit-learn
34-
lmdb==1.2.1
29+
lmdb==1.3.0
3530
# via -r tools/accuracy_checker/requirements-extra.in
36-
networkx==2.5.1 ; python_version >= "3.7"
31+
networkx==2.8 ; python_version >= "3.7"
3732
# via
3833
# -r tools/accuracy_checker/requirements-extra.in
3934
# scikit-image
40-
nibabel==3.2.1
35+
nibabel==4.0.2
4136
# via -r tools/accuracy_checker/requirements-extra.in
42-
nltk==3.6.2
37+
nltk==3.7
4338
# via -r tools/accuracy_checker/requirements-extra.in
44-
numpy==1.19.5
39+
numpy==1.23.1
4540
# via
4641
# -r tools/accuracy_checker/requirements-core.in
4742
# imagecodecs
@@ -56,90 +51,88 @@ numpy==1.19.5
5651
# scipy
5752
# tifffile
5853
# transformers
59-
openvino-telemetry==2022.1.0
54+
openvino-telemetry==2022.1.1
6055
# via -r tools/accuracy_checker/requirements-core.in
61-
packaging==21.0
56+
packaging==21.3
6257
# via
6358
# huggingface-hub
6459
# nibabel
6560
# scikit-image
6661
# transformers
67-
pandas==1.1.5
62+
pandas==1.3.5
6863
# via -r tools/accuracy_checker/requirements-extra.in
69-
parasail==1.2.4 ; platform_system != "Windows"
64+
parasail==1.3.3 ; platform_system != "Windows"
7065
# via -r tools/accuracy_checker/requirements-extra.in
71-
pillow==8.3.2
66+
pillow==9.3.0
7267
# via
7368
# -r tools/accuracy_checker/requirements-core.in
7469
# imageio
7570
# scikit-image
76-
py-cpuinfo==8.0.0
71+
py-cpuinfo==9.0.0
7772
# via -r tools/accuracy_checker/requirements-extra.in
78-
pyclipper==1.3.0
73+
pyclipper==1.3.0.post4
7974
# via -r tools/accuracy_checker/requirements-extra.in
80-
pydicom==2.2.1
75+
pydicom==2.3.1
8176
# via -r tools/accuracy_checker/requirements-extra.in
82-
pyparsing==2.4.7
77+
pyparsing==3.0.9
8378
# via packaging
8479
python-dateutil==2.8.2
8580
# via pandas
86-
pytz==2021.1
81+
pytz==2022.6
8782
# via pandas
88-
pywavelets==1.1.1
83+
pywavelets==1.4.1
8984
# via scikit-image
90-
pyyaml==5.4.1
85+
pyyaml==6.0
9186
# via
9287
# -r tools/accuracy_checker/requirements-core.in
88+
# huggingface-hub
9389
# transformers
94-
rawpy==0.17.2 ; python_version >= "3.7"
90+
rawpy==0.17.3 ; python_version >= "3.7"
9591
# via -r tools/accuracy_checker/requirements-extra.in
96-
regex==2021.8.28
92+
regex==2022.10.31
9793
# via
9894
# nltk
99-
# sacremoses
10095
# transformers
101-
requests==2.26.0
96+
requests==2.28.1
10297
# via
10398
# huggingface-hub
10499
# openvino-telemetry
105100
# transformers
106-
sacremoses==0.0.45
107-
# via transformers
108101
scikit-image==0.19.3 ; python_version >= "3.7"
109102
# via -r tools/accuracy_checker/requirements-extra.in
110103
scikit-learn==0.24.2
111104
# via -r tools/accuracy_checker/requirements-extra.in
112-
scipy==1.5.4
105+
scipy==1.8.0
113106
# via
114107
# -r tools/accuracy_checker/requirements-extra.in
115108
# scikit-image
116109
# scikit-learn
117-
sentencepiece==0.1.96
110+
sentencepiece==0.1.97
118111
# via -r tools/accuracy_checker/requirements-extra.in
119-
shapely==1.7.1
112+
shapely==1.8.5.post1
120113
# via -r tools/accuracy_checker/requirements-extra.in
121114
six==1.16.0
122-
# via
123-
# python-dateutil
124-
# sacremoses
125-
threadpoolctl==2.2.0
115+
# via python-dateutil
116+
threadpoolctl==3.1.0
126117
# via scikit-learn
127-
tifffile==2020.9.3
118+
tifffile==2022.10.10
128119
# via scikit-image
129-
tokenizers==0.10.3 ; python_version >= "3.7"
120+
tokenizers==0.13.2 ; python_version >= "3.7"
130121
# via
131122
# -r tools/accuracy_checker/requirements-extra.in
132123
# transformers
133-
tqdm==4.62.2
124+
tqdm==4.64.1
134125
# via
135126
# -r tools/accuracy_checker/requirements-extra.in
136127
# huggingface-hub
137128
# nltk
138-
# sacremoses
139129
# transformers
140-
transformers==4.10.0 ; python_version >= "3.7"
130+
transformers==4.24.0 ; python_version >= "3.7"
141131
# via -r tools/accuracy_checker/requirements-extra.in
142-
typing-extensions==3.10.0.2
132+
typing-extensions==4.4.0
143133
# via huggingface-hub
144-
urllib3==1.26.6
134+
urllib3==1.26.12
145135
# via requests
136+
137+
# The following packages are considered to be unsafe in a requirements file:
138+
# setuptools

0 commit comments

Comments
 (0)