Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python3.7 #3864

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/accuracy_checker.yml
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ jobs:
strategy:
matrix:
runs-on: [ubuntu-20.04, ubuntu-22.04]
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you support 3.11?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do. There's just pinned pytest in tests which is too old

runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
22 changes: 6 additions & 16 deletions tools/accuracy_checker/requirements-extra.in
Original file line number Diff line number Diff line change
@@ -2,17 +2,10 @@
tqdm>=4.54.1

# image reading and preprocessing
# networkx version upperbound in scikit-image is conflicted
networkx~=2.5;python_version<"3.7"
# nncf's upperbound: https://github.com/openvinotoolkit/nncf/blob/1de67217adf60a29afa310edf4a5f4d36314446a/setup.py#L104
networkx<=2.8.2;python_version>="3.7"
# note: python 3.6 wheels is not available since 0.18
scikit-image~=0.17.2;python_version<"3.7"
scikit-image>=0.19.2;python_version>="3.7"

# there is issue with resolving versions for python3.6 and python3.7, pin to specific version of lib
imagecodecs~=2020.5.30;python_version<"3.7"
imagecodecs~=2021.11.20;python_version=="3.7"
networkx<=2.8.2
scikit-image>=0.19.2

imagecodecs~=2022.2.22;python_version=="3.8" or python_version=="3.9"
imagecodecs~=2023.3.16;python_version>="3.11"

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

# nlp, tokenization
sentencepiece>=0.1.95
tokenizers~=0.10.1;python_version<"3.7"
tokenizers>=0.10.1;python_version>="3.7"
transformers>=4.5,<4.17;python_version<"3.7"
transformers>=4.5;python_version>="3.7"
tokenizers>=0.10.1
transformers>=4.5

nltk>=3.5

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

# raw image formats processing
rawpy>=0.16.0;python_version<"3.7"
rawpy~=0.17.1;python_version>="3.7"
rawpy~=0.17.1

# lmdb dataset support
lmdb>=1.2.1
2 changes: 1 addition & 1 deletion tools/accuracy_checker/setup.py
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ def prepare_requirements():
"accuracy_check=openvino.tools.accuracy_checker.main:main",
"convert_annotation=openvino.tools.accuracy_checker.annotation_converters.convert:main"]},
zip_safe=False,
python_requires='>=3.5',
python_requires='>=3.8',
install_requires=_requirements,
tests_require=[read("requirements-test.in")],
cmdclass={'test': PyTest, 'install_core': CoreInstall},