Skip to content

Commit 4746e0e

Browse files
authored
Drop python 3.9 support (#336)
* Drop python 3.9 support * Update python in ci workflows
1 parent c24d659 commit 4746e0e

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/pre_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python
4646
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4747
with:
48-
python-version: "3.9"
48+
python-version: "3.10"
4949
- name: Install dependencies
5050
run: pip install 'src/python/.[tests,ovms]'
5151
- name: Run python unit tests

.github/workflows/test_precommit.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2121
with:
22-
python-version: 3.9
22+
python-version: "3.10"
2323
cache: pip
2424
- name: Create and start a virtual environment
2525
run: |
@@ -94,7 +94,7 @@ jobs:
9494
persist-credentials: false
9595
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9696
with:
97-
python-version: 3.9
97+
python-version: "3.10"
9898
cache: pip
9999
- name: Create and start a virtual environment
100100
shell: bash
@@ -135,10 +135,7 @@ jobs:
135135
fail-fast: false
136136
matrix:
137137
os: [ubuntu-22.04, ubuntu-24.04]
138-
python-version: [3.9, "3.10", "3.11"]
139-
exclude:
140-
- os: ubuntu-24.04
141-
python-version: "3.9"
138+
python-version: ["3.10", "3.11", "3.13"]
142139
runs-on: ${{ matrix.os }}
143140
steps:
144141
- name: Set up docker for macOS

src/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
[project]
1111
name = "openvino_model_api"
1212
version = "0.3.0.3"
13-
requires-python = ">=3.9"
13+
requires-python = ">=3.10"
1414
authors = [
1515
{name = "Intel(R) Corporation"},
1616
]
@@ -21,7 +21,7 @@ description = "Model API: model wrappers and pipelines for inference with OpenVI
2121
readme = "README.md"
2222
classifiers = [
2323
"License :: OSI Approved :: Apache Software License",
24-
"Programming Language :: Python :: 3.9"
24+
"Programming Language :: Python :: 3.10"
2525
]
2626
dependencies = [
2727
"numpy>=1.16.6",

0 commit comments

Comments
 (0)