Skip to content

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

[PyOV][GHA] Adjust docs with Python 3.9/3.14 updates, drop 3.9 from GHA (#32459)

Przemyslaw Wysocki867b3387e425
diff --git a/.github/dockerfiles/docker_tag b/.github/dockerfiles/docker_tag
index 2fbbf3a952f..e882a51095b 100644
--- a/.github/dockerfiles/docker_tag
+++ b/.github/dockerfiles/docker_tag
@@ -1 +1 @@
-pr-32342
\ No newline at end of file
+pr-32459
diff --git a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
index aca429b8b88..b8463567e00 100644
--- a/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
+++ b/.github/dockerfiles/ov_build/debian_10_arm/Dockerfile
@@ -87,29 +87,6 @@ RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \
ENV PATH="$SCCACHE_HOME:$PATH"
# Build Pythons
-# Python 3.9
-
-# To cross-compile Python 3.9 we need to first compile it for the host
-RUN wget https://www.python.org/ftp/python/3.9.21/Python-3.9.21.tar.xz
-
-RUN tar -xf Python-3.9.21.tar.xz && \
- cd Python-3.9.21 && \
- ./configure --enable-optimizations && \
- make -j $(nproc) && \
- make altinstall
-
-# Compile Python 3.9 for ARM
-RUN cd Python-3.9.21 && make distclean && \
- ./configure \
- --host=arm-linux-gnueabihf \
- --build=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE) \
- --disable-ipv6 \
- --enable-shared \
- --prefix=/opt/python3.9_arm \
- ac_cv_file__dev_ptmx=no \
- ac_cv_file__dev_ptc=no && \
- make -j $(nproc) && make altinstall
-
# Python 3.10
# To cross-compile Python 3.10 we need to first compile it for the host
RUN wget https://www.python.org/ftp/python/3.10.16/Python-3.10.16.tar.xz
@@ -215,7 +192,6 @@ RUN cd Python-3.13.2 && make distclean && \
# Setup pip
ENV PIP_VERSION="24.0"
RUN python3 -m pip install --upgrade pip==${PIP_VERSION} && \
- python3.9 -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} && \
diff --git a/.github/dockerfiles/ov_build/fedora_29/Dockerfile b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
index 72d0c0e9333..148097da8ec 100644
--- a/.github/dockerfiles/ov_build/fedora_29/Dockerfile
+++ b/.github/dockerfiles/ov_build/fedora_29/Dockerfile
@@ -33,14 +33,6 @@ RUN chmod +x /install_build_dependencies.sh && \
rm -rf /var/lib/apt/lists/*
# Build Pythons
-# Python 3.9
-RUN cd /usr/src && \
- wget https://www.python.org/ftp/python/3.9.21/Python-3.9.21.tar.xz && \
- tar xvf Python-3.9.21.tar.xz
-RUN cd /usr/src/Python-3.9.21 && \
- ./configure --enable-optimizations --enable-loadable-sqlite-extensions --prefix=/usr && \
- make altinstall
-
# Python 3.10
RUN cd /usr/src && \
wget https://www.python.org/ftp/python/3.10.16/Python-3.10.16.tar.xz && \
@@ -85,15 +77,14 @@ RUN mkdir ${SCCACHE_HOME} && cd ${SCCACHE_HOME} && \
ENV PATH="$SCCACHE_HOME:$PATH"
-# Use Python 3.9 as default
-RUN python3.9 -m venv venv
+# Use Python 3.10 as default
+RUN python3.10 -m venv venv
ENV PATH="/venv/bin:$PATH"
-RUN alternatives --install /usr/bin/python python /usr/bin/python3.9 10
+RUN alternatives --install /usr/bin/python python /usr/bin/python3.10 10
# Setup pip
ENV PIP_VERSION="24.0"
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
- python3.9 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} && \
diff --git a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
index 3df9c99f8c0..7174da8858a 100644
--- a/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_20_04_x64/Dockerfile
@@ -25,9 +25,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.9-dev \
- python3.9-venv \
- python3.9-distutils \
python3.10-dev \
python3.10-venv \
python3.10-distutils \
@@ -66,16 +63,15 @@ 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.9 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} && \
rm -f get-pip.py
-# Use Python 3.9 as default instead of Python 3.8
+# Use Python 3.10 as default instead of Python 3.8
# Using venv here 'cause other methods to switch the default Python on Ubuntu 20 break both system and wheels build
-RUN python3.9 -m venv venv
+RUN python3.10 -m venv venv
ENV PATH="/venv/bin:$SCCACHE_HOME:$PATH"
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
index c414250216b..80b842e4268 100644
--- a/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_22_04_x64/Dockerfile
@@ -26,9 +26,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.9-dev \
- python3.9-venv \
- python3.9-distutils \
python3.10-dev \
python3.10-venv \
python3.10-distutils \
@@ -80,7 +77,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.9 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} && \
diff --git a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
index 30f9b9792bc..a823302cfe5 100644
--- a/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_build/ubuntu_24_04_x64/Dockerfile
@@ -25,9 +25,6 @@ RUN apt-get update && \
# parallel gzip
pigz \
# Pythons
- python3.9-dev \
- python3.9-venv \
- python3.9-distutils \
python3.10-dev \
python3.10-venv \
python3.10-distutils \
@@ -76,7 +73,6 @@ ENV PATH="/venv/bin:$PATH"
# Setup pip
ENV PIP_VERSION="24.0"
RUN /venv/bin/python3 -m pip install --upgrade pip==${PIP_VERSION} && \
- python3.9 -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} && \
diff --git a/.github/dockerfiles/ov_test/fedora_33/Dockerfile b/.github/dockerfiles/ov_test/fedora_33/Dockerfile
index 0a1382e97fb..2fce844f89a 100644
--- a/.github/dockerfiles/ov_test/fedora_33/Dockerfile
+++ b/.github/dockerfiles/ov_test/fedora_33/Dockerfile
@@ -1,5 +1,5 @@
ARG REGISTRY="docker.io"
-FROM ${REGISTRY}/library/fedora:33
+FROM ${REGISTRY}/library/fedora:35
USER root
@@ -11,6 +11,7 @@ RUN dnf update -y && dnf install -y \
git \
curl \
python3 \
+ python3-pip \
findutils \
ocl-icd \
ocl-icd-devel \
diff --git a/.github/dockerfiles/ov_test/ubuntu_20_04_x64/Dockerfile b/.github/dockerfiles/ov_test/ubuntu_20_04_x64/Dockerfile
index 929ccf5700c..697aa86d4a1 100644
--- a/.github/dockerfiles/ov_test/ubuntu_20_04_x64/Dockerfile
+++ b/.github/dockerfiles/ov_test/ubuntu_20_04_x64/Dockerfile
@@ -27,9 +27,9 @@ RUN apt-get update && \
# Samples
clang \
# Python
- python3.9-dev \
- python3.9-venv \
- python3.9-distutils \
+ python3.10-dev \
+ python3.10-venv \
+ python3.10-distutils \
libhdf5-dev \
&& \
rm -rf /var/lib/apt/lists/*
@@ -45,13 +45,13 @@ 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.9 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
+ python3.10 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \
rm -f get-pip.py
-# Use Python 3.9 as default instead of Python 3.8
+# Use Python 3.10 as default instead of Python 3.8
# Using venv here 'cause other methods to switch the default Python on Ubuntu 20 break both system and wheels build
-RUN python3.9 -m venv venv
+RUN python3.10 -m venv venv
ENV PATH="/venv/bin:$PATH"
ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION}
-ENV PIP_INSTALL_PATH=/venv/lib/python3.9/site-packages
+ENV PIP_INSTALL_PATH=/venv/lib/python3.10/site-packages
diff --git a/.github/workflows/fedora_29.yml b/.github/workflows/fedora_29.yml
index c36917211c6..a6f022a6521 100644
--- a/.github/workflows/fedora_29.yml
+++ b/.github/workflows/fedora_29.yml
@@ -1,4 +1,4 @@
-name: Fedora 29 (RHEL 8.4), Python 3.9
+name: Fedora 29 (RHEL 8.4), Python 3.10
on:
workflow_dispatch:
inputs:
diff --git a/.github/workflows/job_build_linux.yml b/.github/workflows/job_build_linux.yml
index d1f7eb5847b..6accfeeaf16 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.9-3.13 installed'
+ description: 'Whether to build additional, i.e., non-system Python packages. Should have Python 3.10-3.13 installed'
type: boolean
required: false
default: false
@@ -215,7 +215,7 @@ jobs:
- name: Build Python API and wheels
if: ${{ inputs.build-additional-python-packages }}
run: |
- for py_version in "3.9" "3.10" "3.11" "3.12" "3.13"
+ for py_version in "3.10" "3.11" "3.12" "3.13"
do
export PY_BUILD_DIR=${{ github.workspace }}/py$py_version
mkdir -p $PY_BUILD_DIR
diff --git a/.github/workflows/job_build_windows.yml b/.github/workflows/job_build_windows.yml
index 5cfa2174228..126fa4df303 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.9-3.12 installed'
+ description: 'Whether to build additional, i.e., non-system Python wheels. Should have Python 3.10-3.13 installed'
type: boolean
required: false
default: false
@@ -198,16 +198,6 @@ jobs:
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_PDB_DIR }} --component pdb
cmake --install ${{ env.BUILD_DIR }} --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${{ env.INSTALL_DEV_PACKAGE }} --component developer_package
- # Setup additional Python versions for wheels building
- - name: Setup Python 3.9
- if: ${{ inputs.build-additional-python-wheels }}
- uses: ./openvino/.github/actions/setup_python
- with:
- version: '3.9'
- pip-cache-path: ${{ env.PIP_CACHE_PATH }}
- should-setup-pip-paths: 'true'
- self-hosted-runner: 'true'
-
# Setup additional Python versions for wheels building
- name: Setup Python 3.10
if: ${{ inputs.build-additional-python-wheels }}
@@ -241,7 +231,7 @@ jobs:
- name: Build additional Python wheels
if: ${{ inputs.build-additional-python-wheels }}
run: |
- $pyVersions = '3.9', '3.10', '3.11', '3.12', '3.13'
+ $pyVersions = '3.10', '3.11', '3.12', '3.13'
foreach ($pyVersion in $pyVersions) {
$pyBuildDir = "${{ github.workspace }}/py$pyVersion"
New-Item -ItemType Directory -Path "$pyBuildDir" -Force
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 38e7c9e1a5d..abadf313b42 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -214,13 +214,6 @@ jobs:
working-directory: ${{ env.INSTALL_TEST_DIR }}
# Setup additional Python versions for wheels building
- - name: Setup Python 3.9
- uses: ./openvino/.github/actions/setup_python
- with:
- version: "3.9"
- should-setup-pip-paths: 'false'
- self-hosted-runner: 'false'
-
- name: Setup Python 3.10
uses: ./openvino/.github/actions/setup_python
with:
@@ -244,7 +237,7 @@ jobs:
- name: Build Python API and wheels
run: |
- for py_version in "3.9" "3.10" "3.11" "3.12" "3.13"
+ for py_version in "3.10" "3.11" "3.12" "3.13"
do
python_exec_path=$(python$py_version -c "import sys; print(sys.executable)")
$python_exec_path -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index ba5ef6b06d7..c118f6bbe43 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -219,13 +219,6 @@ jobs:
popd
# Setup additional Python versions for wheels building
- - name: Setup Python 3.9
- uses: ./openvino/.github/actions/setup_python
- with:
- version: "3.9"
- should-setup-pip-paths: 'false'
- self-hosted-runner: 'false'
-
- name: Setup Python 3.10
uses: ./openvino/.github/actions/setup_python
with:
@@ -242,7 +235,7 @@ jobs:
- name: Build additional Python wheels
run: |
- for py_version in "3.9" "3.10" "3.11" "3.12"
+ for py_version in "3.10" "3.11" "3.12"
do
python_exec_path=$(python$py_version -c "import sys; print(sys.executable)")
$python_exec_path -m pip install -r ${{ env.OPENVINO_REPO }}/src/bindings/python/wheel/requirements-dev.txt
@@ -406,7 +399,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: [ '3.9', '3.10', '3.11', '3.12' ]
+ python-version: [ '3.10', '3.11', '3.12' ]
with:
runner: 'macos-14'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
diff --git a/.github/workflows/manylinux_2014.yml b/.github/workflows/manylinux_2014.yml
index 551df80ad52..c919c02397f 100644
--- a/.github/workflows/manylinux_2014.yml
+++ b/.github/workflows/manylinux_2014.yml
@@ -186,9 +186,9 @@ jobs:
cmake --install /work/build --config ${{ env.CMAKE_BUILD_TYPE }} --prefix /work/api_tests --component tests
"
- - name: Build Python API (Python 3.9-3.13)
+ - name: Build Python API (Python 3.10-3.13)
run: |
- SUPPORTED_PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12" "3.13")
+ SUPPORTED_PYTHON_VERSIONS=("3.10" "3.11" "3.12" "3.13")
for PY_VER in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do
simpler_python_version=$(echo $PY_VER | sed -e 's/\.//g')
python_path=/opt/python/cp${simpler_python_version}-cp${simpler_python_version}/bin
@@ -279,8 +279,6 @@ jobs:
fail-fast: false
matrix:
include:
- - python-version: "3.9"
- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.fedora_33 }}
- python-version: "3.10"
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_py310 }}
- python-version: "3.11"
diff --git a/.github/workflows/manylinux_2_28.yml b/.github/workflows/manylinux_2_28.yml
index f1fb01127b8..cc00ab08271 100644
--- a/.github/workflows/manylinux_2_28.yml
+++ b/.github/workflows/manylinux_2_28.yml
@@ -169,9 +169,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.9-3.13)
+ - name: Build Python API (Python 3.10-3.13)
run: |
- SUPPORTED_PYTHON_VERSIONS=("3.9" "3.10" "3.11" "3.12" "3.13")
+ SUPPORTED_PYTHON_VERSIONS=("3.10" "3.11" "3.12" "3.13")
for PY_VER in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do
py_build_dir=${{ github.workspace }}/build_py${PY_VER}
@@ -269,8 +269,6 @@ jobs:
fail-fast: false
matrix:
include:
- - python-version: "3.9"
- image: ${{ fromJSON(needs.docker.outputs.images).ov_test.fedora_33 }}
- python-version: "3.10"
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.debian_10_py310 }}
- python-version: "3.11"
diff --git a/.github/workflows/py_checks.yml b/.github/workflows/py_checks.yml
index b9df569c0ef..bb427dd459b 100644
--- a/.github/workflows/py_checks.yml
+++ b/.github/workflows/py_checks.yml
@@ -34,7 +34,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
- python-version: '3.9'
+ python-version: '3.10'
- name: Install dependencies
run: python -m pip install -r src/bindings/python/requirements_test.txt
diff --git a/.github/workflows/windows_vs2022_release.yml b/.github/workflows/windows_vs2022_release.yml
index f12a3fd9c29..d5241de77ef 100644
--- a/.github/workflows/windows_vs2022_release.yml
+++ b/.github/workflows/windows_vs2022_release.yml
@@ -410,7 +410,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.9", "3.10", "3.11", "3.12"]
+ python-version: ["3.10", "3.11", "3.12"]
defaults:
run:
shell: pwsh
diff --git a/.github/workflows/workflow_rerunner.yml b/.github/workflows/workflow_rerunner.yml
index 46bccb29b54..bac3ffbafa7 100644
--- a/.github/workflows/workflow_rerunner.yml
+++ b/.github/workflows/workflow_rerunner.yml
@@ -14,8 +14,8 @@ on:
- "Linux RISC-V with Conan (Ubuntu 22.04, Python 3.10)"
- "Linux RISC-V with Xuantie (Ubuntu 22.04, Python 3.10)"
- "Linux (Ubuntu 22.04, Python 3.11, Intel DPC\\+\\+ Compiler)"
- - "Linux Sanitizers (Ubuntu 20.04, Python 3.9)"
- - "Fedora 29 (RHEL 8.4), Python 3.9"
+ - "Linux Sanitizers (Ubuntu 22.04, Python 3.11)"
+ - "Fedora 29 (RHEL 8.4), Python 3.10"
- "Windows (VS 2022, Python 3.11, Release)"
- "Windows (VS 2022, Python 3.11, Debug)"
- "Windows Conditional Compilation (VS 2022, Python 3.11)"
diff --git a/.github/workflows/workflows_to_track.txt b/.github/workflows/workflows_to_track.txt
index 965757c1742..a55a7cbc2d1 100644
--- a/.github/workflows/workflows_to_track.txt
+++ b/.github/workflows/workflows_to_track.txt
@@ -50,17 +50,15 @@ name: macOS ARM64 (Python 3.11)
==> ./dependency_review.yml <==
name: 'Dependency Review'
==> ./fedora_29.yml <==
-name: Fedora 29 (RHEL 8.4), Python 3.9
+name: Fedora 29 (RHEL 8.4), Python 3.10
==> ./code_snippets.yml <==
name: Code snippets
-==> ./ubuntu_20.yml <==
-name: Linux (Ubuntu 20.04, Python 3.9)
==> ./linux_riscv.yml <==
name: Linux RISC-V with Conan (Ubuntu 22.04, Python 3.10)
==> ./workflow_rerunner.yml <==
name: Rerun Workflow with Known Errors
==> ./linux_sanitizers.yml <==
-name: Linux Sanitizers (Ubuntu 20.04, Python 3.9)
+name: Linux Sanitizers (Ubuntu 22.04, Python 3.11)
==> ./py_checks.yml <==
name: Python API Checks
==> ./webassembly.yml <==
diff --git a/docs/articles_en/about-openvino/release-notes-openvino.rst b/docs/articles_en/about-openvino/release-notes-openvino.rst
index 7f6145a2fb5..96201815bdf 100644
--- a/docs/articles_en/about-openvino/release-notes-openvino.rst
+++ b/docs/articles_en/about-openvino/release-notes-openvino.rst
@@ -1106,7 +1106,6 @@ Discontinued in 2025
Deprecated and to be removed in the future
--------------------------------------------
-* Python 3.9 is now deprecated and will be unavailable after OpenVINO version 2025.4.
* ``openvino.Type.undefined`` is now deprecated and will be removed with version 2026.0.
``openvino.Type.dynamic`` should be used instead.
* APT & YUM Repositories Restructure:
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 5a9bf4b64bc..5e369bf5521 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
@@ -113,7 +113,7 @@ Operating systems and developer environment
Build environment components:
- * Python 3.9-3.12
+ * Python 3.10-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:
@@ -136,7 +136,7 @@ Operating systems and developer environment
* `Microsoft Visual Studio 2019 or later <https://visualstudio.microsoft.com/downloads/>`__
* `CMake <https://cmake.org/download/>`__ 3.16 or higher
- * `Python <https://www.python.org/downloads/>`__ 3.9-3.12
+ * `Python <https://www.python.org/downloads/>`__ 3.10-3.14
* `Intel® HD Graphics Driver <https://downloadcenter.intel.com/product/80939/Graphics-Drivers>`__
required for inference on GPU
@@ -148,7 +148,7 @@ Operating systems and developer environment
* `Xcode <https://developer.apple.com/xcode/>`__ 10.3
* `CMake <https://cmake.org/download/>`__ 3.13 or higher
- * `Python <https://www.python.org/downloads/>`__ 3.9-3.12
+ * `Python <https://www.python.org/downloads/>`__ 3.10-3.14
.. tab-item:: DL framework versions:
@@ -186,7 +186,7 @@ to learn more about the release types.
:name: archive-lnx-sysreq
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
* GCC:
.. tab-set::
@@ -226,7 +226,7 @@ to learn more about the release types.
:name: archive-mac-sysreq
* `CMake 3.13 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.9 - 3.12 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.9 - 3.12). Install and add to path.
+ * `Python 3.10 - 3.14 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.10 - 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)
@@ -236,7 +236,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.14 or higher, 64-bit <https://cmake.org/download/>`__ (optional, only required for building sample applications)
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/windows/>`__
+ * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/windows/>`__
.. note::
@@ -261,7 +261,7 @@ to learn more about the release types.
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 9.3.0 (for Ubuntu 20.04), GCC 11.3.0 (for Ubuntu 22.04) or GCC 13.2.0 (for Ubuntu 24.04)
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
.. tab-item:: Homebrew
:name: homebrew-sysreq
@@ -274,14 +274,14 @@ to learn more about the release types.
* `Homebrew <https://brew.sh/>`_
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 9.3.0 (for Ubuntu 20.04), GCC 11.3.0 (for Ubuntu 22.04) or GCC 13.2.0 (for Ubuntu 24.04)
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/>`__
+ * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`__
.. tab-item:: macOS
:sync: macos
* `Homebrew <https://brew.sh/>`_
* `CMake 3.13 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.9 - 3.12 <https://www.python.org/downloads/mac-osx/>`__ . Install and add it to path.
+ * `Python 3.10 - 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)
@@ -335,7 +335,7 @@ to learn more about the release types.
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.4.1
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/>`_
+ * `Python 3.10 - 3.14, 64-bit <https://www.python.org/downloads/>`_
.. tab-item:: ZYPPER
:name: zypper-sysreq
@@ -351,7 +351,7 @@ to learn more about the release types.
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.2.0
- * `Python 3.9 - 3.12, 64-bit <https://www.python.org/downloads/>`_
+ * `Python 3.10 - 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 b7f6e806f4b..b1baf30d7ca 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.9 and 3.12. If your Python version does not meet the
+ Python versions are 64-bit, between 3.10 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/learn-openvino/interactive-tutorials-python/notebooks-installation.rst b/docs/articles_en/get-started/learn-openvino/interactive-tutorials-python/notebooks-installation.rst
index 7842383c890..f92a8270c39 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.9, 3.10, 3.11, 3.12 |
+| Ubuntu 20.04 LTS, 64-bit | 3.10, 3.11, 3.12 |
+-------------------------------------+--------------------------------+
-| Ubuntu 22.04 LTS, 64-bit | 3.9, 3.10, 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.9, 3.10, 3.11, 3.12 |
+| CentOS 7, 64 bit | 3.10, 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| CentOS 7, 64 bit | 3.9, 3.10, 3.11, 3.12 |
+| 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.9, 3.10, 3.11, 3.12 |
+| Windows 10, 64-bit Pro, Enterprise | 3.10, 3.11, 3.12, 3.13, 3.14 |
+-------------------------------------+--------------------------------+
-| Windows 10, 64-bit Pro, Enterprise | 3.9, 3.10, 3.11, 3.12 |
+| Windows 10, 64-bit Pro, Enterprise | 3.10, 3.11, 3.12 |
| or Education editions | |
+-------------------------------------+--------------------------------+
-| Windows Server 2016 or higher | 3.9, 3.10, 3.11, 3.12 |
+| Windows Server 2016 or higher | 3.10, 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.9 - 3.12) from `python.org <https://www.python.org/downloads/windows/>`__
+ Download 64 bit version of Python software (3.10 - 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
@@ -622,14 +622,14 @@ Installing notebooks
apt update
apt install build-essential -y
- apt install libpython3.9-dev -y
+ apt install libpython3.10-dev -y
apt install libgl1-mesa-glx -y
2. **Setup OpenVINO conda environment.**
.. code-block::
- conda create --name openvino_env python=3.9
+ conda create --name openvino_env python=3.10
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 8b9781e46a5..7511dd81739 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.9 - 3.12 for the OpenVINO Runtime Python API:
+ - **arm64** Python 3.10 - 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/pyproject.toml b/pyproject.toml
index 4a8c2b57447..030ed406537 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,13 +8,13 @@ authors = [
{ name = "OpenVINO Developers", email = "[email protected]" },
]
classifiers = [
- "Programming Language :: Python :: 3.9",
"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.9"
+requires-python = ">=3.10"
dependencies = [
"numpy>=1.16.6,<2.3.0",
diff --git a/src/bindings/python/src/openvino/runtime/utils/types/__init__.py b/src/bindings/python/src/openvino/runtime/utils/types/__init__.py
index b35c8458b1f..848bf804be7 100644
--- a/src/bindings/python/src/openvino/runtime/utils/types/__init__.py
+++ b/src/bindings/python/src/openvino/runtime/utils/types/__init__.py
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*- # noqa: A005
# Copyright (C) 2018-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
diff --git a/src/bindings/python/src/openvino/utils/types.py b/src/bindings/python/src/openvino/utils/types.py
index f184ef4c555..034269dfe6a 100644
--- a/src/bindings/python/src/openvino/utils/types.py
+++ b/src/bindings/python/src/openvino/utils/types.py
@@ -1,4 +1,4 @@
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*- # noqa: A005
# Copyright (C) 2018-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0