klipper: revert to 3.11 (#152)

This commit is contained in:
Markus Küffner
2024-05-05 17:14:04 +02:00
committed by GitHub
parent 0db0c26541
commit 83d1353df8
2 changed files with 3 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
## Get Klipper Source and Build venv
##
FROM python:3.12-bookworm as build
FROM python:3.11-bookworm as build
RUN apt update \
&& apt install -y cmake \
@@ -28,7 +28,7 @@ RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \
## Klippy Runtime Image
##
FROM python:3.12-slim-bookworm as run
FROM python:3.11-slim-bookworm as run
WORKDIR /opt
RUN groupadd klipper --gid 1000 \

View File

@@ -1,8 +1,4 @@
## This file contains additional requirements
## Packages defined here will be installed prior to klippy requirements
##
numpy==1.26.4
# this is a workaround as setuptools is no longer installed in venvs since python 3.12
# klippy is installing python-can==3.3.4 which requires setuptools to be present
# May be removed if python-can has been upgraded upstream in https://github.com/Klipper3d/klipper/pull/6557.
setuptools
numpy