Skip to content

Commit

Permalink
klipper: revert to 3.11 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuf authored May 5, 2024
1 parent 0db0c26 commit 83d1353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker/klipper/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
6 changes: 1 addition & 5 deletions docker/klipper/requirements-prind.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 83d1353

Please sign in to comment.