Skip to content

Commit

Permalink
Initial py3.8 removal
Browse files Browse the repository at this point in the history
  • Loading branch information
akuporos committed Sep 6, 2024
1 parent 5f0fc54 commit 30cfefd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/github_org_control/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from pathlib import Path


if sys.version_info[:2] < (3, 8):
raise Exception("Python version must be >= 3.8")
if sys.version_info[:2] < (3, 9):
raise Exception("Python version must be >= 3.9")


class ConfigException(Exception):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
clang==12.0.1; python_version == '3.8'
clang==12.0.1; python_version == '3.9'
clang==14.0; python_version == '3.10'
clang==14.0; python_version == '3.11'
Expand Down
2 changes: 1 addition & 1 deletion scripts/setupvars/setupvars.bat
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ set "PATH=%OPENVINO_LIB_PATHS%;%PATH%"

:: Check if Python is installed
set PYTHON_VERSION_MAJOR=3
set MIN_REQUIRED_PYTHON_VERSION_MINOR=8
set MIN_REQUIRED_PYTHON_VERSION_MINOR=9
set MAX_SUPPORTED_PYTHON_VERSION_MINOR=12

python --version 2>NUL
Expand Down
2 changes: 1 addition & 1 deletion scripts/setupvars/setupvars.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Write-Host "[setupvars] OpenVINO environment initialized"

# Check if Python is installed
$PYTHON_VERSION_MAJOR = 3
$MIN_REQUIRED_PYTHON_VERSION_MINOR = 8
$MIN_REQUIRED_PYTHON_VERSION_MINOR = 9
$MAX_SUPPORTED_PYTHON_VERSION_MINOR = 12

try
Expand Down
2 changes: 1 addition & 1 deletion scripts/setupvars/setupvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if command -v lsb_release >/dev/null 2>&1; then
fi

PYTHON_VERSION_MAJOR="3"
MIN_REQUIRED_PYTHON_VERSION_MINOR="8"
MIN_REQUIRED_PYTHON_VERSION_MINOR="9"
MAX_SUPPORTED_PYTHON_VERSION_MINOR="12"

check_python_version () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=1.13
torchvision; platform_machine == 'arm64' and python_version >= '3.8'
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
torchvision; platform_machine != 'arm64'
pillow>=9.0
1 change: 0 additions & 1 deletion tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Jinja2>=2.11.2
pandas>=1.3.5
pymongo>=3.12.0
PyYAML>=5.4.1
scipy>=1.7; python_version <= "3.8"
scipy>=1.11.1; python_version >= "3.9"
sympy>=1.10
wheel>=0.38.1
Expand Down
4 changes: 2 additions & 2 deletions tests/layer_tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ numpy
onnxruntime
requests
torch
torchvision; platform_machine == 'arm64' and python_version >= '3.8'
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
torchvision; platform_machine != 'arm64'
sympy; platform_machine == 'arm64' and python_version >= '3.8'
sympy; platform_machine == 'arm64' and python_version >= '3.9'
sympy; platform_machine != 'arm64'
transformers
packaging
Expand Down

0 comments on commit 30cfefd

Please sign in to comment.