From 9810188c641db2029f46e3e701ee9b61a7cc4ba1 Mon Sep 17 00:00:00 2001 From: Vladisalv Sovrasov Date: Fri, 25 Jul 2025 22:57:46 +0900 Subject: [PATCH 1/2] Drop python 3.9 support --- .github/workflows/test_precommit.yml | 5 +---- src/python/pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_precommit.yml b/.github/workflows/test_precommit.yml index b5a8a675..a1082fee 100644 --- a/.github/workflows/test_precommit.yml +++ b/.github/workflows/test_precommit.yml @@ -135,10 +135,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04, ubuntu-24.04] - python-version: [3.9, "3.10", "3.11"] - exclude: - - os: ubuntu-24.04 - python-version: "3.9" + python-version: ["3.10", "3.11", "3.13"] runs-on: ${{ matrix.os }} steps: - name: Set up docker for macOS diff --git a/src/python/pyproject.toml b/src/python/pyproject.toml index 626b736b..8c65e1bc 100644 --- a/src/python/pyproject.toml +++ b/src/python/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" [project] name = "openvino_model_api" version = "0.3.0.3" -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [ {name = "Intel(R) Corporation"}, ] @@ -21,7 +21,7 @@ description = "Model API: model wrappers and pipelines for inference with OpenVI readme = "README.md" classifiers = [ "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.9" + "Programming Language :: Python :: 3.10" ] dependencies = [ "numpy>=1.16.6", From 40677a3253a76a8acfa8be00553b3b2addeb1827 Mon Sep 17 00:00:00 2001 From: Vladisalv Sovrasov Date: Fri, 25 Jul 2025 23:24:19 +0900 Subject: [PATCH 2/2] Update python in ci workflows --- .github/workflows/pre_commit.yml | 2 +- .github/workflows/test_precommit.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre_commit.yml b/.github/workflows/pre_commit.yml index e6d371d6..6ac8a4ab 100644 --- a/.github/workflows/pre_commit.yml +++ b/.github/workflows/pre_commit.yml @@ -45,7 +45,7 @@ jobs: - name: Set up Python uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: "3.9" + python-version: "3.10" - name: Install dependencies run: pip install 'src/python/.[tests,ovms]' - name: Run python unit tests diff --git a/.github/workflows/test_precommit.yml b/.github/workflows/test_precommit.yml index a1082fee..a98e4d53 100644 --- a/.github/workflows/test_precommit.yml +++ b/.github/workflows/test_precommit.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: 3.9 + python-version: "3.10" cache: pip - name: Create and start a virtual environment run: | @@ -94,7 +94,7 @@ jobs: persist-credentials: false - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: 3.9 + python-version: "3.10" cache: pip - name: Create and start a virtual environment shell: bash