File tree Expand file tree Collapse file tree 6 files changed +12
-9
lines changed
Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1717ARG BASE_UBI_IMAGE_TAG=latest
1818ARG USER=tuning
1919ARG USER_UID=1000
20- ARG PYTHON_VERSION=3.11
20+ ARG PYTHON_VERSION=3.12
2121ARG WHEEL_VERSION=""
2222# # Enable Aimstack or MLflow if requested via ENABLE_AIM/MLFLOW set to "true"
2323ARG ENABLE_AIM=false
@@ -32,7 +32,7 @@ ARG PYTHON_VERSION
3232ARG USER
3333ARG 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
3636RUN 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
5353FROM 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
5656RUN rpm -e $(dnf repoquery python3-* -q --installed) dnf python3 yum crypto-policies-scripts
5757
5858
Original file line number Diff line number Diff 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]
2829dependencies = [
2930" numpy>=1.26.4,<2.0" ,
You can’t perform that action at this time.
0 commit comments