From 313f019f8bb5355015b114affaa9b9e3673bd49f Mon Sep 17 00:00:00 2001 From: xdaile Date: Tue, 19 Nov 2024 10:37:59 +0100 Subject: [PATCH] Fix Python3.12 dev_env --- docker/Dockerfile-api | 2 ++ setup.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile-api b/docker/Dockerfile-api index 26797bb5..8416101a 100644 --- a/docker/Dockerfile-api +++ b/docker/Dockerfile-api @@ -19,9 +19,11 @@ RUN dnf -y install \ python3.12-devel \ python3.12-pip \ python3.12-wheel \ + python3.12-setuptools \ && dnf update -y \ && dnf clean all RUN update-alternatives --set python3 $(which python3.12) + COPY . . COPY ./docker/iib-httpd.conf /etc/httpd/conf/httpd.conf diff --git a/setup.py b/setup.py index 7a007717..3fb444a9 100644 --- a/setup.py +++ b/setup.py @@ -47,5 +47,5 @@ ], entry_points={'console_scripts': ['iib=iib.web.manage:cli']}, license="GPLv3+", - python_requires='>=3.8', + python_requires='>=3.12', )