Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[PyOV] Drop 3.10 from docs, requirements and setupvars scripts (#38127)

Alicja Miloszewska206f9bcff70d
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index 655b3c2eb70..52a8c8a5d40 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-38160
\ No newline at end of file
+pr-38127
diff --git a/.github/dockerfiles/ov_build/fedora_29/Dockerfile b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
index 619ea08dc1f..460e2f3c4b2 100644
--- a/.github/dockerfiles/ov_build/fedora_29/Dockerfile
+++ b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
@@ -41,14 +41,6 @@ RUN chmod +x /install_build_dependencies.sh && \
rm -rf /var/lib/apt/lists/*
# Build Pythons
-# Python 3.10
-RUN cd /usr/src && \
- wget https://www.python.org/ftp/python/3.10.16/Python-3.10.16.tar.xz && \
- tar xvf Python-3.10.16.tar.xz
-RUN cd /usr/src/Python-3.10.16 && \
- ./configure --enable-optimizations --enable-loadable-sqlite-extensions --prefix=/usr && \
- make altinstall
-
# Python 3.11
RUN cd /usr/src && \
wget https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tar.xz && \
@@ -101,15 +93,14 @@ RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \
ENV PATH="$SCCACHE_HOME:$PATH"
-# Use Python 3.10 as default
-RUN python3.10 -m venv venv
+# Use Python 3.11 as default
+RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$PATH"
-RUN alternatives --install /usr/bin/python python /usr/bin/python3.10 10
+RUN alternatives --install /usr/bin/python python /usr/bin/python3.11 11
# Setup pip
ENV PIP_VERSION="24.0"
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
- python3.10 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.11 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.12 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.13 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
diff --git a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
index 51c0ec400b2..74e556a051a 100644
--- a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
@@ -28,9 +28,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.10-dev \
- python3.10-venv \
- python3.10-distutils \
python3.11-dev \
python3.11-venv \
python3.11-distutils \
@@ -66,15 +63,14 @@ ENV PIP_VERSION="24.0"
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
curl https://bootstrap.pypa.io/pip/3.8/get-pip.py -o get-pip-3.8.py && \
python3 get-pip-3.8.py --no-cache-dir pip==${PIP_VERSION} && \
- python3.10 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.11 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.12 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.13 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
rm -f get-pip.py
-# Use Python 3.10 as default instead of Python 3.8
+# Use Python 3.11 as default instead of Python 3.10
# Using venv here 'cause other methods to switch the default Python on Ubuntu 20 break both system and wheels build
-RUN python3.10 -m venv venv
+RUN python3.11 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
# Install newer ninja (apt ships 1.10.0 on 20.04 which lacks --quiet)
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
index 88feab7192d..5394d462983 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
@@ -29,9 +29,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.10-dev \
- python3.10-venv \
- python3.10-distutils \
python3.11-dev \
python3.11-venv \
python3.11-distutils \
@@ -84,7 +81,6 @@ ENV PATH="$SCCACHE_HOME:$PATH"
ENV PIP_VERSION="24.0"
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python3 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
- python3.10 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.11 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.12 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
python3.13 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
diff --git a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
index 1c2a8868d43..1aa2022c3e2 100644
--- a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
@@ -28,9 +28,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.10-dev \
- python3.10-venv \
- python3.10-distutils \
python3.11-dev \
python3.11-venv \
python3.11-distutils \
@@ -80,7 +77,6 @@ ENV PATH="/venv/bin:$PATH"
ENV PIP_VERSION="24.0"
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
/venv/bin/python3 -m pip install --upgrade pip==${PIP_VERSION} && \
- python3.10 -m pip install --upgrade pip==${PIP_VERSION} && \
python3.11 -m pip install --upgrade pip==${PIP_VERSION} && \
python3.12 -m pip install --upgrade pip==${PIP_VERSION} && \
python3.13 -m pip install --upgrade pip==${PIP_VERSION} && \
diff --git a/.github/github_org_control/configs.py b/.github/github_org_control/configs.py
index c11105b043a..c58340fca8d 100644
--- a/.github/github_org_control/configs.py
+++ b/.github/github_org_control/configs.py
@@ -14,7 +14,7 @@ import json
from pathlib import Path
-if sys.version_info[:2] < (3, 9):
+if sys.version_info[:2] < (3, 10):
raise Exception("Python version must be >= 3.9")
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.yml
index 3900ca30333..e55e75a80fd 100644
--- a/.github/workflows/job_build_linux.yml
+++ b/.github/workflows/job_build_linux.yml
@@ -52,7 +52,7 @@ on:
required: false
default: false
build-additional-python-packages:
- description: 'Whether to build additional, i.e., non-system Python packages. Should have Python 3.10-3.13 installed'
+ description: 'Whether to build additional, i.e., non-system Python packages. Should have Python 3.11-3.13 installed'
type: boolean
required: false
default: false
@@ -300,7 +300,7 @@ jobs:
id: build_python_wheels
if: ${{ inputs.build-additional-python-packages }}
run: |
- for py_version in "3.10" "3.11" "3.12" "3.13" "3.14" "3.14t"
+ for py_version in "3.11" "3.12" "3.13" "3.14" "3.14t"
do
echo "Building Python API and wheels for Python ${py_version}"
export PY_BUILD_DIR=${{ github.workspace }}/py$py_version
diff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.yml
index 4f3beb6ca0c..dbf062f4509 100644
--- a/.github/workflows/job_build_windows.yml
+++ b/.github/workflows/job_build_windows.yml
@@ -22,7 +22,7 @@ on:
type: string
required: true
build-additional-python-wheels:
- description: 'Whether to build additional, i.e., non-system Python wheels. Should have Python 3.10-3.13 installed'
+ description: 'Whether to build additional, i.e., non-system Python wheels. Should have Python 3.11-3.13 installed'
type: boolean
required: false
default: false
@@ -214,16 +214,6 @@ jobs:
if: ${{ inputs.build-samples }}
run: cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DIR }} --component samples_bin
- # Setup additional Python versions for wheels building
- - name: Setup Python 3.10
- if: ${{ inputs.build-additional-python-wheels }}
- uses: ./openvino/.github/actions/setup_python
- with:
- version: '3.10'
- use-pip-proxy: 'true'
- set-pip-install-path: 'true'
- self-hosted-runner: 'true'
-
# Setup additional Python versions for wheels building
- name: Setup Python 3.12
if: ${{ inputs.build-additional-python-wheels }}
@@ -257,7 +247,7 @@ jobs:
- name: Build additional Python wheels
if: ${{ inputs.build-additional-python-wheels }}
run: |
- $pyVersions = '3.10', '3.11', '3.12', '3.13', '3.14'
+ $pyVersions = '3.11', '3.12', '3.13', '3.14'
foreach ($pyVersion in $pyVersions) {
$pyBuildDir = "${{ github.workspace }}/py$pyVersion"
New-Item -ItemType Directory -Path "$pyBuildDir" -Force
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index f109c9bf4dc..e391975db24 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -233,13 +233,6 @@ jobs:
popd
# Setup additional Python versions for wheels building
- - name: Setup Python 3.10
- uses: ./openvino/.github/actions/setup_python
- with:
- version: "3.10"
- set-pip-install-path: 'false'
- self-hosted-runner: 'false'
-
- name: Setup Python 3.12
uses: ./openvino/.github/actions/setup_python
with:
@@ -269,9 +262,9 @@ jobs:
set-pip-install-path: 'false'
self-hosted-runner: 'false'
- - name: Build additional Python wheels (3.10-3.14t)
+ - name: Build additional Python wheels (3.11-3.14t)
run: |
- for py_version in "3.10" "3.11" "3.12" "3.13" "3.14" "3.14t"
+ for py_version in "3.11" "3.12" "3.13" "3.14" "3.14t"
do
echo "Building Python API and wheels for Python ${py_version}"
python_exec_path=$(python$py_version -c "import sys; print(sys.executable)")
@@ -449,7 +442,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t' ]
+ python-version: [ '3.11', '3.12', '3.13', '3.14', '3.14t' ]
with:
runner: 'macos-15'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
diff --git a/.github/workflows/manylinux_2_28.yml b/.github/workflows/manylinux_2_28.yml
index e113eaba461..26ab58fb5a9 100644
--- a/.github/workflows/manylinux_2_28.yml
+++ b/.github/workflows/manylinux_2_28.yml
@@ -187,9 +187,9 @@ jobs:
env:
CXXFLAGS: "-Wno-dangling-reference" # bug in gcc-14: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532
- - name: Build Python API (Python 3.10-3.14t)
+ - name: Build Python API (Python 3.11-3.14t)
run: |
- SUPPORTED_PYTHON_VERSIONS=("3.10" "3.11" "3.12" "3.13" "3.14" "3.14t")
+ SUPPORTED_PYTHON_VERSIONS=("3.11" "3.12" "3.13" "3.14" "3.14t")
for PY_VER in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do
py_build_dir=${{ github.workspace }}/build_py${PY_VER}
@@ -305,8 +305,6 @@ jobs:
fail-fast: false
matrix:
include:
- - python-version: "3.10"
- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
- python-version: "3.11"
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }}
- python-version: "3.12"
diff --git a/.github/workflows/ovc.yml b/.github/workflows/ovc.yml
index 83d2a8bcbf3..ba00d2aa528 100644
--- a/.github/workflows/ovc.yml
+++ b/.github/workflows/ovc.yml
@@ -37,7 +37,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
- python-version: '3.10'
+ python-version: '3.11'
- name: Cache pip
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
diff --git a/.github/workflows/py_checks.yml b/.github/workflows/py_checks.yml
index 6c55e1d19c7..0a6b3b7663a 100644
--- a/.github/workflows/py_checks.yml
+++ b/.github/workflows/py_checks.yml
@@ -39,7 +39,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
- python-version: '3.10'
+ python-version: '3.11'
- name: Install dependencies
run: python -m pip install -r src/bindings/python/requirements_test.txt
diff --git a/.github/workflows/update_pyapi_stubs.yml b/.github/workflows/update_pyapi_stubs.yml
index 2b5e5d3f623..31d49c5c195 100644
--- a/.github/workflows/update_pyapi_stubs.yml
+++ b/.github/workflows/update_pyapi_stubs.yml
@@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v4
with:
- python-version: '3.10'
+ python-version: '3.11'
- name: Install OpenVINO and stubgen
run: |
diff --git a/.github/workflows/windows_vs2022_release.yml b/.github/workflows/windows_vs2022_release.yml
index fba294a93d2..70941b83d99 100644
--- a/.github/workflows/windows_vs2022_release.yml
+++ b/.github/workflows/windows_vs2022_release.yml
@@ -431,7 +431,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
+ python-version: ["3.11", "3.12", "3.13", "3.14", "3.14t"]
defaults:
run:
shell: pwsh
diff --git a/.github/workflows/workflows_to_track.txt b/.github/workflows/workflows_to_track.txt
index 4b48d212be9..2c64f7c5911 100644
--- a/.github/workflows/workflows_to_track.txt
+++ b/.github/workflows/workflows_to_track.txt
@@ -45,8 +45,6 @@ name: "Pull Request Labeler"
name: macOS ARM64 (Python 3.11)
==> ./dependency_review.yml <==
name: 'Dependency Review'
-==> ./fedora_29.yml <==
-name: Fedora 29 (RHEL 8.4), Python 3.10
==> ./code_snippets.yml <==
name: Code snippets
==> ./linux_riscv.yml <==
diff --git a/cmake/developer_package/ncc_naming_style/requirements_dev.txt b/cmake/developer_package/ncc_naming_style/requirements_dev.txt
index 724ea2bf157..3af21f73166 100644
--- a/cmake/developer_package/ncc_naming_style/requirements_dev.txt
+++ b/cmake/developer_package/ncc_naming_style/requirements_dev.txt
@@ -1,4 +1,3 @@
-clang==12.0.1; python_version == '3.9'
clang==14.0; python_version == '3.10'
clang==14.0; python_version == '3.11'
clang==15.0.7; python_version == '3.12'
diff --git a/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst b/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst
index 7783ad676ec..ded81a3325c 100644
--- a/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst
+++ b/docs/articles_en/about-openvino/release-notes-openvino/system-requirements.rst
@@ -107,7 +107,7 @@ Operating systems and developer environment
Build environment components:
- * Python 3.10-3.14
+ * Python 3.11-3.14
* `Intel® HD Graphics Driver <https://downloadcenter.intel.com/product/80939/Graphics-Drivers>`__
required for inference on GPU
* GNU Compiler Collection and CMake are needed for building from source:
@@ -130,7 +130,7 @@ Operating systems and developer environment
* `Microsoft Visual Studio 2019 or later <https://visualstudio.microsoft.com/downloads/>`__
* `CMake <https://cmake.org/download/>`__ 3.26 or higher
- * `Python <https://www.python.org/downloads/>`__ 3.10-3.14
+ * `Python <https://www.python.org/downloads/>`__ 3.11-3.14
* `Intel® HD Graphics Driver <https://downloadcenter.intel.com/product/80939/Graphics-Drivers>`__
required for inference on GPU
@@ -142,7 +142,7 @@ Operating systems and developer environment
* `Xcode <https://developer.apple.com/xcode/>`__ 10.3
* `CMake <https://cmake.org/download/>`__ 3.26 or higher
- * `Python <https://www.python.org/downloads/>`__ 3.10-3.14
+ * `Python <https://www.python.org/downloads/>`__ 3.11-3.14
.. tab-item:: DL framework versions:
@@ -180,7 +180,7 @@ to learn more about the release types.
:name: archive-lnx-sysreq
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`__
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/>`__
* GCC:
.. tab-set::
@@ -199,7 +199,7 @@ to learn more about the release types.
:name: archive-mac-sysreq
* `CMake 3.26 or higher <https://cmake.org/download/>`__ (choose "macOS 10.13 or later"). Add ``/Applications/CMake.app/Contents/bin`` to path (for default install).
- * `Python 3.10 - 3.14 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.10 - 3.14). Install and add to path.
+ * `Python 3.11 - 3.14 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.11 - 3.14). Install and add to path.
* Apple Xcode Command Line Tools. In the terminal, run ``xcode-select --install`` from any directory
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
@@ -209,7 +209,7 @@ to learn more about the release types.
* `C++ libraries (included in Visual Studio redistributable) <https://aka.ms/vs/17/release/vc_redist.x64.exe>`__ (a core dependency for OpenVINO Runtime)
* `Microsoft Visual Studio 2019 or later <http://visualstudio.microsoft.com/downloads/>`__ (for development and app compilation with OpenVINO)
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`__ (optional, only required for building sample applications)
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/windows/>`__
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/windows/>`__
.. note::
@@ -234,7 +234,7 @@ to learn more about the release types.
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 11.3.0 (for Ubuntu 22.04), GCC 13.2.0 (for Ubuntu 24.04) or GCC 15.2.0 (for Ubuntu 26.04)
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/>`__
.. tab-item:: Homebrew
:name: homebrew-sysreq
@@ -247,14 +247,14 @@ to learn more about the release types.
* `Homebrew <https://brew.sh/>`_
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 11.3.0 (for Ubuntu 22.04), GCC 13.2.0 (for Ubuntu 24.04) or GCC 15.2.0 (for Ubuntu 26.04)
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/>`__
.. tab-item:: macOS
:sync: macos
* `Homebrew <https://brew.sh/>`_
* `CMake 3.26 or higher <https://cmake.org/download/>`__ (choose "macOS 10.13 or later"). Add ``/Applications/CMake.app/Contents/bin`` to path (for default installation).
- * `Python 3.10 - 3.14 <https://www.python.org/downloads/mac-osx/>`__ . Install and add it to path.
+ * `Python 3.11 - 3.14 <https://www.python.org/downloads/mac-osx/>`__ . Install and add it to path.
* Apple Xcode Command Line Tools. In the terminal, run ``xcode-select --install`` from any directory to install it.
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
@@ -308,7 +308,7 @@ to learn more about the release types.
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.4.1
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`_
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/>`_
.. tab-item:: ZYPPER
:name: zypper-sysreq
@@ -324,7 +324,7 @@ to learn more about the release types.
* `CMake 3.26 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.2.0
- * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`_
+ * `Python 3.11 - 3.14, 64-bit <https://www.python.org/downloads/>`_
The claims stated here may not apply to all use cases and setups. See
diff --git a/docs/articles_en/get-started/install-openvino/configurations/troubleshooting-install-config.rst b/docs/articles_en/get-started/install-openvino/configurations/troubleshooting-install-config.rst
index 86f84b7ef0f..3f8c553f846 100644
--- a/docs/articles_en/get-started/install-openvino/configurations/troubleshooting-install-config.rst
+++ b/docs/articles_en/get-started/install-openvino/configurations/troubleshooting-install-config.rst
@@ -63,7 +63,7 @@ Troubleshooting Guide for OpenVINO™ Installation & Configuration
.. dropdown:: Check the versions of Python and PIP
To check your Python version, run ``python -VV`` or ``python --version``. The supported
- Python versions are 64-bit, between 3.10 and 3.14. If your Python version does not meet the
+ Python versions are 64-bit, between 3.11 and 3.14. If your Python version does not meet the
requirements, you need to upgrade:
* For Windows, **do not install Python from the Windows Store** as it can cause issues.
diff --git a/docs/articles_en/get-started/install-openvino/install-openvino-conda.rst b/docs/articles_en/get-started/install-openvino/install-openvino-conda.rst
index 17467043ae7..be438f3a449 100644
--- a/docs/articles_en/get-started/install-openvino/install-openvino-conda.rst
+++ b/docs/articles_en/get-started/install-openvino/install-openvino-conda.rst
@@ -30,15 +30,15 @@ Install OpenVINO™ Runtime from Conda Forge
Installing OpenVINO Runtime with Anaconda Package Manager
############################################################
-1. Set up the Anaconda environment (Python 3.10 used as an example):
+1. Set up the Anaconda environment (Python 3.14 used as an example):
.. code-block:: sh
- conda create --name py310 python=3.10
+ conda create --name py314 python=3.14
.. code-block:: sh
- conda activate py310
+ conda activate py314
2. Update it to the latest version:
@@ -87,7 +87,7 @@ To reactivate your Conda environment, execute the following command:
.. code-block:: sh
- conda activate py310
+ conda activate py314
Once you have reactivated your Conda environment, make sure that all the necessary environment
variables are properly set and proceed with linking the OpenVINO libraries.
diff --git a/docs/articles_en/get-started/learn-openvino/interactive-tutorials-python/notebooks-installation.rst b/docs/articles_en/get-started/learn-openvino/interactive-tutorials-python/notebooks-installation.rst
index f92a8270c39..a8536f11aac 100644
--- a/docs/articles_en/get-started/learn-openvino/interactive-tutorials-python/notebooks-installation.rst
+++ b/docs/articles_en/get-started/learn-openvino/interactive-tutorials-python/notebooks-installation.rst
@@ -26,20 +26,20 @@ The table below lists the supported operating systems and Python versions.
| | (64-bit |
| | ) <https://www.python.org/>`__ |
+=====================================+================================+
-| Ubuntu 20.04 LTS, 64-bit | 3.10, 3.11, 3.12 |
+| Ubuntu 20.04 LTS, 64-bit | 3.11, 3.12 |
+-------------------------------------+--------------------------------+
-| Red Hat Enterprise Linux 8 | 3.10, 3.11, 3.12, 3.13, 3.14 |
+| Red Hat Enterprise Linux 8 | 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| CentOS 7, 64 bit | 3.10, 3.11, 3.12, 3.13, 3.14 |
+| CentOS 7, 64 bit | 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| macOS 10.15.x versions or higher | 3.10, 3.11, 3.12, 3.13, 3.14 |
+| macOS 10.15.x versions or higher | 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| Windows 10, 64-bit Pro, Enterprise | 3.10, 3.11, 3.12, 3.13, 3.14 |
+| Windows 10, 64-bit Pro, Enterprise | 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| Windows 10, 64-bit Pro, Enterprise | 3.10, 3.11, 3.12 |
+| Windows 10, 64-bit Pro, Enterprise | 3.11, 3.12 |
| or Education editions | |
+-------------------------------------+--------------------------------+
-| Windows Server 2016 or higher | 3.10, 3.11, 3.12 |
+| Windows Server 2016 or higher | 3.11, 3.12 |
+-------------------------------------+--------------------------------+
OpenVINO Notebooks also require Git. Follow the guide below for your
@@ -55,7 +55,7 @@ Installing prerequisites
1. **Install Python**
- Download 64 bit version of Python software (3.10 - 3.14) from `python.org <https://www.python.org/downloads/windows/>`__
+ Download 64 bit version of Python software (3.11 - 3.14) from `python.org <https://www.python.org/downloads/windows/>`__
Run the installer by double clicking it. Follow the installation steps to set
up the software.
@@ -170,7 +170,7 @@ Installing prerequisites
.. code-block:: console
- brew install [email protected]
+ brew install [email protected]
brew install protobuf
# optional but recommended
@@ -492,7 +492,7 @@ Installing notebooks
.. code-block:: console
- conda create --name openvino_env python=3.9 -y
+ conda create --name openvino_env python=3.11 -y
2. Activate the environment
@@ -622,14 +622,14 @@ Installing notebooks
apt update
apt install build-essential -y
- apt install libpython3.10-dev -y
+ apt install libpython3.11-dev -y
apt install libgl1-mesa-glx -y
2. **Setup OpenVINO conda environment.**
.. code-block::
- conda create --name openvino_env python=3.10
+ conda create --name openvino_env python=3.11
conda activate openvino_env
conda install ipykernel
set PATH="/anaconda/envs/openvino_env/bin;%PATH%"
diff --git a/docs/dev/build_mac_arm.md b/docs/dev/build_mac_arm.md
index 4879412a314..c7fc11f5ff6 100644
--- a/docs/dev/build_mac_arm.md
+++ b/docs/dev/build_mac_arm.md
@@ -14,7 +14,7 @@ The software was validated on:
- [brew](https://brew.sh) package manager to install additional dependencies. Use [install brew](https://brew.sh) guide to achieve this.
- Installation step for python and python libraries varies depending on the host architecture:
- - **arm64** Python 3.10 - 3.14 for the OpenVINO Runtime Python API:
+ - **arm64** Python 3.11 - 3.14 for the OpenVINO Runtime Python API:
```sh
% # let's have a look what python versions are available in brew
% brew search python
diff --git a/docs/dev/build_windows.md b/docs/dev/build_windows.md
index e43aaf179ff..55f17453120 100644
--- a/docs/dev/build_windows.md
+++ b/docs/dev/build_windows.md
@@ -11,8 +11,7 @@ Supported configurations:
- [CMake](https://cmake.org/download/) 3.26 or higher
- Microsoft Visual Studio 2019 or higher, version 16.3 or later
> **NOTE**: Native Microsoft Visual Studio for WoA has been available since version 3.11.
-- Python 3.10 - 3.14 for OpenVINO Runtime Python API
- > **NOTE**: Python for ARM64 is available since [3.11](https://www.python.org/downloads/windows/) version.
+- Python 3.11 - 3.14 for OpenVINO Runtime Python API
- [Git for Windows*]
- (Windows on ARM only) [LLVM for Windows on ARM (WoA)](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/LLVM-15.0.6-woa64.exe)
> **NOTE**: After installation, make sure `clang-cl` compiler is available from `PATH`.
diff --git a/pyproject.toml b/pyproject.toml
index b20b285d0ed..c3ee68656d0 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,13 +8,12 @@ authors = [
{ name = "OpenVINO Developers", email = "[email protected]" },
]
classifiers = [
- "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
-requires-python = ">=3.10"
+requires-python = ">=3.11"
dependencies = [
"numpy>=1.16.6,<2.6.0",
diff --git a/scripts/setupvars/setupvars.bat b/scripts/setupvars/setupvars.bat
index 4f7da211ad0..99c69cf83de 100644
--- a/scripts/setupvars/setupvars.bat
+++ b/scripts/setupvars/setupvars.bat
@@ -70,7 +70,7 @@ set "PATH=%OPENVINO_LIB_PATHS%;%PATH%"
:: Check if Python is installed
set PYTHON_VERSION_MAJOR=3
-set MIN_REQUIRED_PYTHON_VERSION_MINOR=10
+set MIN_REQUIRED_PYTHON_VERSION_MINOR=11
set MAX_SUPPORTED_PYTHON_VERSION_MINOR=15
python --version 2>NUL
diff --git a/scripts/setupvars/setupvars.ps1 b/scripts/setupvars/setupvars.ps1
index 46dad1aba0b..8c52fb865ea 100644
--- a/scripts/setupvars/setupvars.ps1
+++ b/scripts/setupvars/setupvars.ps1
@@ -72,7 +72,7 @@ Write-Host "[setupvars] OpenVINO environment initialized"
# Check if Python is installed
$PYTHON_VERSION_MAJOR = 3
-$MIN_REQUIRED_PYTHON_VERSION_MINOR = 10
+$MIN_REQUIRED_PYTHON_VERSION_MINOR = 11
$MAX_SUPPORTED_PYTHON_VERSION_MINOR = 15
try
diff --git a/scripts/setupvars/setupvars.sh b/scripts/setupvars/setupvars.sh
index 199c4c99383..c85da84e814 100755
--- a/scripts/setupvars/setupvars.sh
+++ b/scripts/setupvars/setupvars.sh
@@ -107,7 +107,7 @@ if command -v lsb_release >/dev/null 2>&1; then
fi
PYTHON_VERSION_MAJOR="3"
-MIN_REQUIRED_PYTHON_VERSION_MINOR="10"
+MIN_REQUIRED_PYTHON_VERSION_MINOR="11"
MAX_SUPPORTED_PYTHON_VERSION_MINOR="15"
check_python_version () {
diff --git a/src/bindings/python/docs/build.md b/src/bindings/python/docs/build.md
index 53a7ce46e09..c92ece1d782 100644
--- a/src/bindings/python/docs/build.md
+++ b/src/bindings/python/docs/build.md
@@ -32,24 +32,24 @@ OpenVINO can be built based on specific virtual environments such as [venv](http
1. First, set up the `pyenv` project. Please follow [official instructions of the pyenv project](https://github.com/pyenv/pyenv#installation) for any additional information.
-2. Install a desired Python version. Following example will use Python in version 3.10.7. To correctly link libraries, an installed Python version must match OpenVINO™:
+2. Install a desired Python version. Following example will use Python in version 3.14.7. To correctly link libraries, an installed Python version must match OpenVINO™:
* Python with a shared library for a dynamically linked OpenVINO™:
```shell
- env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --verbose 3.10.7
+ env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install --verbose 3.14.7
```
* Python with a static library version for a static build of OpenVINO™:
```shell
- pyenv install --verbose 3.10.7
+ pyenv install --verbose 3.14.7
```
3. Create a virtual environment based on the installed Python version:
```
- pyenv virtualenv 3.10.7 ov-py310
+ pyenv virtualenv 3.14.7 ov-py314
```
4. Activate the environment:
```bash
- pyenv activate ov-py310
+ pyenv activate ov-py314
```
5. Install developer requirements for OpenVINO™ Python API while inside virtual environment:
@@ -67,7 +67,7 @@ OpenVINO can be built based on specific virtual environments such as [venv](http
6. Add following flags to the main `cmake` command to use specific virtual environment (requires cmake 3.16 and higher):
```shell
- -DPython3_EXECUTABLE=/home/user/.pyenv/versions/3.10.7/bin/python
+ -DPython3_EXECUTABLE=/home/user/.pyenv/versions/3.14.7/bin/python
```
7. Follow the rest of building and installation steps from ["How to build OpenVINO" developer documentation](../../../../docs/dev/build.md).
diff --git a/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt b/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt
index c13687fe839..c2fbeac00c2 100644
--- a/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt
+++ b/src/bindings/python/src/openvino/preprocess/torchvision/requirements.txt
@@ -1,5 +1,4 @@
--extra-index-url https://download.pytorch.org/whl/cpu
-networkx<=3.2.1; python_version <= '3.9'
torch>=2.7.0
torchvision
pillow>=9.0
diff --git a/tests/constraints.txt b/tests/constraints.txt
index f0899b33b26..959d743788c 100644
--- a/tests/constraints.txt
+++ b/tests/constraints.txt
@@ -6,7 +6,7 @@ Jinja2>=2.11.2
pandas>=1.3.5
pymongo>=3.12.0
PyYAML>=5.4.1
-scipy>=1.11.1; python_version >= "3.9"
+scipy>=1.11.1
sympy>=1.10
wheel>=0.38.1
defusedxml>=0.7.1
diff --git a/tests/e2e_tests/requirements.txt b/tests/e2e_tests/requirements.txt
index 4e5ae1b708c..1dd5a9a6cdf 100644
--- a/tests/e2e_tests/requirements.txt
+++ b/tests/e2e_tests/requirements.txt
@@ -16,8 +16,7 @@ scikit-image>=0.25.0; python_version >= '3.13'
# for utils legacy
tabulate==0.10.0
-pytest>=5.0,<=7.0.1; python_version < '3.10'
-pytest==9.1.1; python_version >= '3.10'
+pytest==9.1.1
pytest-cov==7.1.0
pytest-html==4.2.0
pytest-json-report==1.5.0
diff --git a/tests/layer_tests/requirements.txt b/tests/layer_tests/requirements.txt
index 0b5a2049b36..2f54d163cb7 100644
--- a/tests/layer_tests/requirements.txt
+++ b/tests/layer_tests/requirements.txt
@@ -4,10 +4,8 @@ numpy
onnxruntime
requests
torch
-torchvision; platform_machine == 'arm64' and python_version >= '3.9'
-torchvision; platform_machine != 'arm64'
-sympy; platform_machine == 'arm64' and python_version >= '3.9'
-sympy; platform_machine != 'arm64'
+torchvision
+sympy
transformers
packaging
pillow
@@ -16,4 +14,3 @@ defusedxml
# Tensorflow depends on Keras without version constraint, Keras update to 3.14.0 caused Tensorflow Lite Layer Tests failure
keras<=3.13.2
tensorflow
-tensorflow-addons; python_version <= '3.10'
diff --git a/tests/requirements_pytorch b/tests/requirements_pytorch
index 806b651d865..52b8396378a 100644
--- a/tests/requirements_pytorch
+++ b/tests/requirements_pytorch
@@ -11,8 +11,7 @@ numpy==2.1.1; python_version >= "3.12"
torch==2.14.0
torchvision==0.29.0
-pytest==7.0.1; python_version < '3.10'
-pytest==7.2.0; python_version >= '3.10'
+pytest==7.2.0
pytest-html==4.2.0
pytest-xdist[psutil]==3.6.1
defusedxml==0.7.1
diff --git a/tools/benchmark_tool/pyproject.toml b/tools/benchmark_tool/pyproject.toml
index 112b466b925..b2051331223 100644
--- a/tools/benchmark_tool/pyproject.toml
+++ b/tools/benchmark_tool/pyproject.toml
@@ -22,7 +22,7 @@ classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License"
]
-requires-python = ">=3.10"
+requires-python = ">=3.11"
dependencies = [
"numpy>=1.16.6,<2.5.0",
]