mirror of
				https://github.com/mkuf/prind.git
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	klipper: revert to 3.11 (#152)
This commit is contained in:
		| @@ -1,6 +1,6 @@ | |||||||
| ## Get Klipper Source and Build venv | ## Get Klipper Source and Build venv | ||||||
| ## | ## | ||||||
| FROM python:3.12-bookworm as build | FROM python:3.11-bookworm as build | ||||||
|  |  | ||||||
| RUN apt update \ | RUN apt update \ | ||||||
|  && apt install -y cmake \ |  && apt install -y cmake \ | ||||||
| @@ -28,7 +28,7 @@ RUN venv/bin/pip install -r klipper/scripts/klippy-requirements.txt \ | |||||||
|  |  | ||||||
| ## Klippy Runtime Image | ## Klippy Runtime Image | ||||||
| ## | ## | ||||||
| FROM python:3.12-slim-bookworm as run | FROM python:3.11-slim-bookworm as run | ||||||
|  |  | ||||||
| WORKDIR /opt | WORKDIR /opt | ||||||
| RUN groupadd klipper --gid 1000 \ | RUN groupadd klipper --gid 1000 \ | ||||||
|   | |||||||
| @@ -1,8 +1,4 @@ | |||||||
| ## This file contains additional requirements | ## This file contains additional requirements | ||||||
| ## Packages defined here will be installed prior to klippy requirements | ## Packages defined here will be installed prior to klippy requirements | ||||||
| ##  | ##  | ||||||
| numpy==1.26.4 | numpy | ||||||
| # 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 |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user