Skip to content

Commit 36c1f37

Browse files
author
Roman Donchenko
authored
Make requirements-ac-test.txt work on Windows (openvinotoolkit#913)
1 parent de9b900 commit 36c1f37

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

ci/requirements-ac-test.txt

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
#
2-
# This file is autogenerated by pip-compile
3-
# To update, run:
4-
#
5-
# pip-compile --output-file=ci/requirements-ac-test.txt tools/accuracy_checker/requirements-test.in tools/accuracy_checker/requirements.in
6-
#
1+
atomicwrites==1.3.0
72
attrs==19.3.0 # via pytest
83
importlib-metadata==1.5.0 # via pluggy, pytest
94
joblib==0.14.1 # via scikit-learn
105
more-itertools==8.2.0 # via pytest
116
nibabel==3.0.1
12-
numpy==1.17.5
7+
numpy==1.17.5 # via nibabel, scikit-learn, scipy
138
packaging==20.1 # via pytest
149
pathlib2==2.3.5 # via pytest
1510
pillow==7.0.0
@@ -19,7 +14,7 @@ py==1.8.1 # via pytest
1914
pyparsing==2.4.6 # via packaging
2015
pytest-mock==2.0.0
2116
pytest==5.3.5
22-
pyyaml==5.3
17+
pyyaml==5.3 # via yamlloader
2318
scikit-learn==0.22.1
2419
scipy==1.4.1
2520
sentencepiece==0.1.85

ci/requirements-ac.txt

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
#
2-
# This file is autogenerated by pip-compile
3-
# To update, run:
4-
#
5-
# pip-compile --output-file=ci/requirements-ac.txt tools/accuracy_checker/requirements.in
6-
#
71
joblib==0.14.1 # via scikit-learn
82
nibabel==3.0.1
9-
numpy==1.17.5
3+
numpy==1.17.5 # via nibabel, scikit-learn, scipy
104
pillow==7.0.0
115
py-cpuinfo==4.0.0
12-
pyyaml==5.3
6+
pyyaml==5.3 # via yamlloader
137
scikit-learn==0.22.1
148
scipy==1.4.1
159
sentencepiece==0.1.85
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
pytest~=5.0
22
pytest-mock~=2.0
3+
4+
# pytest depends on atomicwrites, but only on Windows.
5+
# This means that if we use pip-compile on Linux, the resulting requirements.txt
6+
# will not include atomicwrites and thus will not work on Windows.
7+
# And we _can't_ use pip-compile on Windows, because sentencepiece does not have
8+
# Python 3.5 Windows wheels on PyPI.
9+
# So as a workaround, make the atomicwrites dependency unconditional.
10+
atomicwrites

0 commit comments

Comments
 (0)