Skip to content

Commit

Permalink
remove python 3.8 supporting
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchu committed Feb 19, 2024
1 parent 7d3b237 commit 53a8e67
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.10
- name: Install dependencies
run: python -m pip install tox
- name: Bandit Scanning
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/health_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.8"
tox-env-py: "38"
- python-version: "3.9"
tox-env-py: "39"
- python-version: "3.10"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.10
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
4 changes: 1 addition & 3 deletions .github/workflows/nightly_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-20.04', 'windows-2022']
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']
include:
- os: "ubuntu-20.04"
tox-env-os: "lin"
- os: "windows-2022"
tox-env-os: "win"
- python-version: "3.8"
tox-env-py: "38"
- python-version: "3.9"
tox-env-py: "39"
- python-version: "3.10"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-20.04', 'windows-2022']
python-version: ['3.8']
python-version: ['3.10']
include:
- python-version: "3.8"
tox-env-py: "38"
- python-version: "3.10"
tox-env-py: "310"
- os: "ubuntu-20.04"
tox-env-os: "lin"
- os: "windows-2022"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/weekly_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-20.04', 'windows-2022']
python-version: ['3.8']
python-version: ['3.10']
include:
- python-version: "3.8"
tox-env-py: "38"
- python-version: "3.10"
tox-env-py: "310"
- os: "ubuntu-20.04"
tox-env-os: "lin"
- os: "windows-2022"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## \[Unreleased\]
### New features
- Changed supported Python version range (>=3.9, <=3.11)
(<>)
- Support MMDetection COCO format
(<https://github.com/openvinotoolkit/datumaro/pull/1213>)
- Develop JsonSectionPageMapper in Rust API
Expand Down
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For feature requests and issues, please feel free to create a GitHub Issue in th
## Development and pull requests

### Prerequisites
- Python (3.8+)
- Python (3.9+)

To set up your development environment, please follow the steps below.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Installation
Dependencies
------------

- Python (3.8+)
- Python (3.9+)
- Optional: OpenVINO, TensorFlow, PyTorch, MxNet, Caffe, Accuracy Checker, Git

Installation steps
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ omit = [

[tool.cibuildwheel]
# reference docs - https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
build = "cp38-*_x86_64 cp39-*_x86_64 cp310-*_x86_64 cp311-*_x86_64 cp38-*_amd64 cp39-*_amd64 cp310-*_amd64 cp311-*_amd64"
build = "cp39-*_x86_64 cp310-*_x86_64 cp311-*_x86_64 cp39-*_amd64 cp310-*_amd64 cp311-*_amd64"
skip = "*macos*"

[tool.cibuildwheel.linux]
Expand Down Expand Up @@ -63,7 +63,7 @@ skip_empty = true

[tool.black]
line-length = 100
target-version = ['py38']
target-version = ['py310']

[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
Expand Down Expand Up @@ -118,7 +118,7 @@ line-length = 120
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

# minimum target version
target-version = "py38"
target-version = "py39"

# ignore-init-module-imports = true

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def parse_requirements(filename=CORE_REQUIREMENTS_FILE):
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
python_requires=">=3.9",
install_requires=CORE_REQUIREMENTS,
extras_require={
"tf": ["tensorflow"],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ commands =
rm {toxworkdir}/requirements.txt


[testenv:tests-py{38,39,310,311}-{lin,win}]
[testenv:tests-py{39,310,311}-{lin,win}]
commands =
python -m pytest -v --csv={toxworkdir}/results-{envname}.csv {posargs:tests}

Expand Down

0 comments on commit 53a8e67

Please sign in to comment.