Skip to content

Commit d8d1149

Browse files
akuporosakladiev
andauthored
Initial py3.8 removal (openvinotoolkit#26468)
### Details: - *item1* - *...* ### Tickets: - CVS-151787 --------- Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
1 parent 6beeb76 commit d8d1149

File tree

9 files changed

+9
-11
lines changed

9 files changed

+9
-11
lines changed

.github/github_org_control/configs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from pathlib import Path
1515

1616

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

2020

2121
class ConfigException(Exception):

cmake/developer_package/ncc_naming_style/requirements_dev.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
clang==12.0.1; python_version == '3.8'
21
clang==12.0.1; python_version == '3.9'
32
clang==14.0; python_version == '3.10'
43
clang==14.0; python_version == '3.11'

scripts/setupvars/setupvars.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ set "PATH=%OPENVINO_LIB_PATHS%;%PATH%"
6767

6868
:: Check if Python is installed
6969
set PYTHON_VERSION_MAJOR=3
70-
set MIN_REQUIRED_PYTHON_VERSION_MINOR=8
70+
set MIN_REQUIRED_PYTHON_VERSION_MINOR=9
7171
set MAX_SUPPORTED_PYTHON_VERSION_MINOR=13
7272

7373
python --version 2>NUL

scripts/setupvars/setupvars.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Write-Host "[setupvars] OpenVINO environment initialized"
6363

6464
# Check if Python is installed
6565
$PYTHON_VERSION_MAJOR = 3
66-
$MIN_REQUIRED_PYTHON_VERSION_MINOR = 8
66+
$MIN_REQUIRED_PYTHON_VERSION_MINOR = 9
6767
$MAX_SUPPORTED_PYTHON_VERSION_MINOR = 13
6868

6969
try

scripts/setupvars/setupvars.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if command -v lsb_release >/dev/null 2>&1; then
100100
fi
101101

102102
PYTHON_VERSION_MAJOR="3"
103-
MIN_REQUIRED_PYTHON_VERSION_MINOR="8"
103+
MIN_REQUIRED_PYTHON_VERSION_MINOR="9"
104104
MAX_SUPPORTED_PYTHON_VERSION_MINOR="13"
105105

106106
check_python_version () {
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
22
torch>=1.13
3-
torchvision; platform_machine == 'arm64' and python_version >= '3.8'
3+
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
44
torchvision; platform_machine != 'arm64'
55
pillow>=9.0

tests/constraints.txt

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Jinja2>=2.11.2
66
pandas>=1.3.5
77
pymongo>=3.12.0
88
PyYAML>=5.4.1
9-
scipy>=1.7; python_version <= "3.8"
109
scipy>=1.11.1; python_version >= "3.9"
1110
sympy>=1.10
1211
wheel>=0.38.1

tests/layer_tests/requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ numpy
44
onnxruntime
55
requests
66
torch
7-
torchvision; platform_machine == 'arm64' and python_version >= '3.8'
7+
torchvision; platform_machine == 'arm64' and python_version >= '3.9'
88
torchvision; platform_machine != 'arm64'
9-
sympy; platform_machine == 'arm64' and python_version >= '3.8'
9+
sympy; platform_machine == 'arm64' and python_version >= '3.9'
1010
sympy; platform_machine != 'arm64'
1111
transformers
1212
packaging

0 commit comments

Comments
 (0)