Skip to content

Commit 0d99811

Browse files
authored
Drop Python3.7 (#3864)
Ticket 118795
1 parent ad80fe5 commit 0d99811

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

.github/workflows/accuracy_checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
matrix:
77
runs-on: [ubuntu-20.04, ubuntu-22.04]
8-
python-version: [3.7, 3.8, 3.9, '3.10']
8+
python-version: [3.8, 3.9, '3.10']
99
runs-on: ${{ matrix.runs-on }}
1010
steps:
1111
- uses: actions/checkout@v3

tools/accuracy_checker/requirements-extra.in

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
tqdm>=4.54.1
33

44
# image reading and preprocessing
5-
# networkx version upperbound in scikit-image is conflicted
6-
networkx~=2.5;python_version<"3.7"
75
# nncf's upperbound: https://github.com/openvinotoolkit/nncf/blob/1de67217adf60a29afa310edf4a5f4d36314446a/setup.py#L104
8-
networkx<=2.8.2;python_version>="3.7"
9-
# note: python 3.6 wheels is not available since 0.18
10-
scikit-image~=0.17.2;python_version<"3.7"
11-
scikit-image>=0.19.2;python_version>="3.7"
12-
13-
# there is issue with resolving versions for python3.6 and python3.7, pin to specific version of lib
14-
imagecodecs~=2020.5.30;python_version<"3.7"
15-
imagecodecs~=2021.11.20;python_version=="3.7"
6+
networkx<=2.8.2
7+
scikit-image>=0.19.2
8+
169
imagecodecs~=2022.2.22;python_version=="3.8" or python_version=="3.9"
1710
imagecodecs~=2023.3.16;python_version>="3.11"
1811

@@ -37,10 +30,8 @@ pydicom>=2.1.2
3730

3831
# nlp, tokenization
3932
sentencepiece>=0.1.95
40-
tokenizers~=0.10.1;python_version<"3.7"
41-
tokenizers>=0.10.1;python_version>="3.7"
42-
transformers>=4.5,<4.17;python_version<"3.7"
43-
transformers>=4.5;python_version>="3.7"
33+
tokenizers>=0.10.1
34+
transformers>=4.5
4435

4536
nltk>=3.5
4637

@@ -50,8 +41,7 @@ parasail~=1.2.4;platform_system=="Windows"
5041
fast-ctc-decode>=0.2.5;python_version<"3.11"
5142

5243
# raw image formats processing
53-
rawpy>=0.16.0;python_version<"3.7"
54-
rawpy~=0.17.1;python_version>="3.7"
44+
rawpy~=0.17.1
5545

5646
# lmdb dataset support
5747
lmdb>=1.2.1

tools/accuracy_checker/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def prepare_requirements():
117117
"accuracy_check=openvino.tools.accuracy_checker.main:main",
118118
"convert_annotation=openvino.tools.accuracy_checker.annotation_converters.convert:main"]},
119119
zip_safe=False,
120-
python_requires='>=3.5',
120+
python_requires='>=3.8',
121121
install_requires=_requirements,
122122
tests_require=[read("requirements-test.in")],
123123
cmdclass={'test': PyTest, 'install_core': CoreInstall},

0 commit comments

Comments
 (0)