upgrade python base images and dependencies to 3.11
This commit is contained in:
@@ -7,9 +7,9 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
PY_VER: "3.9"
|
||||
PY_VER: "3.11"
|
||||
PILLOW_VERSION: "10.3.0"
|
||||
CACHE_KEY: "pillow-10.3.0-py3.9-armv6-v10.3.0-v4"
|
||||
CACHE_KEY: "pillow-10.3.0-py3.11-armv6-v10.3.0-v4"
|
||||
|
||||
jobs:
|
||||
# Job 1: Pillow-Wheel ARMv6 bauen
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
FROM balenalib/raspberry-pi-python:3.9-bullseye AS builder
|
||||
FROM balenalib/raspberry-pi-python:3.11-bullseye AS builder
|
||||
|
||||
RUN apt-get update && apt-get install -o Acquire::Retries=5 -y --no-install-recommends \
|
||||
build-essential make git python3-dev pkg-config libssl-dev curl \
|
||||
@@ -29,14 +29,14 @@ RUN git clone --depth 1 https://github.com/hzeller/rpi-rgb-led-matrix.git && \
|
||||
|
||||
COPY src/led_matrix_application /app/led_matrix_application
|
||||
|
||||
FROM balenalib/raspberry-pi-python:3.9-bullseye-run
|
||||
FROM balenalib/raspberry-pi-python:3.11-bullseye-run
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -o Acquire::Retries=5 -y --no-install-recommends \
|
||||
libjpeg62-turbo libtiff5 libopenjp2-7 libfreetype6 \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=builder /usr/local/lib/python3.9/site-packages/ /usr/local/lib/python3.9/site-packages/
|
||||
COPY --from=builder /usr/local/lib/python3.9/site-packages/ /usr/local/lib/python3.11/site-packages/
|
||||
|
||||
COPY --from=builder /app/led_matrix_application /app/
|
||||
COPY --from=builder /app/rgbmatrix /app/rgbmatrix
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM balenalib/raspberry-pi-python:3.9-bullseye
|
||||
FROM balenalib/raspberry-pi-python:3.11-bullseye
|
||||
|
||||
ARG PILLOW_VERSION=10.3.0
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -621,5 +621,5 @@ files = [
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.1"
|
||||
python-versions = "^3.9"
|
||||
content-hash = "16d346ca13914ece60033b16cd961701df9a983c66de6efe977f9595324a4706"
|
||||
python-versions = "^3.11"
|
||||
content-hash = "052b4d71c51213623d63e33388bf3ce0f4a5049a779dd14a7dfc33c764e55d3a"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ authors = ["tsomic <keller.nils99@gmail.com>"]
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
python = "^3.11"
|
||||
pyowm = "^3.3.0"
|
||||
python-dotenv = "^1.0.1"
|
||||
pillow = "10.3.0"
|
||||
|
||||
Reference in New Issue
Block a user