Skip to content

Commit 8d5fbf0

Browse files
committed
Merge pull request #449 from dushyantbehl/upgrade-python-version
chore: bump python version Signed-off-by: Angel Luu <[email protected]>
2 parents 0eaca37 + 1ca9754 commit 8d5fbf0

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

.github/workflows/build-and-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
strategy:
2525
matrix:
2626
python-version:
27-
- setup: "3.11"
28-
tox: "py311"
27+
- setup: "3.12"
28+
tox: "py312"
2929

3030
environment:
3131
name: pypi

.github/workflows/coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Set up Python 3.11
13+
- name: Set up Python 3.12
1414
uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.11
16+
python-version: 3.12
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28-
- name: Set up Python 3.9
28+
- name: Set up Python 3.12
2929
uses: actions/setup-python@v4
3030
with:
31-
python-version: 3.9
31+
python-version: 3.12
3232
- name: Install dependencies
3333
run: |
3434
python -m pip install --upgrade pip

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
tox: "py310"
1818
- setup: "3.11"
1919
tox: "py311"
20+
- setup: "3.12"
21+
tox: "py312"
2022
steps:
2123
- uses: actions/checkout@v4
2224
- name: Install dependencies

build/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ARG BASE_UBI_IMAGE_TAG=latest
1818
ARG USER=tuning
1919
ARG USER_UID=1000
20-
ARG PYTHON_VERSION=3.11
20+
ARG PYTHON_VERSION=3.12
2121
ARG WHEEL_VERSION=""
2222
## Enable Aimstack or MLflow if requested via ENABLE_AIM/MLFLOW set to "true"
2323
ARG ENABLE_AIM=false
@@ -32,7 +32,7 @@ ARG PYTHON_VERSION
3232
ARG USER
3333
ARG USER_UID
3434

35-
# Note this works for 3.9, 3.11, 3.12
35+
# Note this is tested to be working for version 3.9, 3.11, 3.12
3636
RUN dnf remove -y --disableplugin=subscription-manager \
3737
subscription-manager \
3838
&& dnf install -y python${PYTHON_VERSION} procps g++ python${PYTHON_VERSION}-devel \
@@ -52,7 +52,7 @@ RUN useradd -u $USER_UID ${USER} -m -g 0 --system && \
5252
## Used as base of the Release stage to removed unrelated the packages and CVEs
5353
FROM base AS release-base
5454

55-
# Removes the python3.9 code to eliminate possible CVEs. Also removes dnf
55+
# Removes the python code to eliminate possible CVEs. Also removes dnf
5656
RUN rpm -e $(dnf repoquery python3-* -q --installed) dnf python3 yum crypto-policies-scripts
5757

5858

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers=[
2424
"Programming Language :: Python :: 3.9",
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12"
2728
]
2829
dependencies = [
2930
"numpy>=1.26.4,<2.0",

0 commit comments

Comments
 (0)