From 877b9e4b867a07a46481c9d5ba0375539f46b4c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:00:42 +0000 Subject: [PATCH 1/2] :arrow_up: Update pillow requirement from ~=10.4.0 to ~=11.0.0 Updates the requirements on [pillow](https://github.com/python-pillow/Pillow) to permit the latest version. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/10.4.0...11.0.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 757f2de6..934d10de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Python packages requirements -Pillow~=10.4.0 # Image generation +Pillow~=11.0.0 # Image generation pyserial~=3.5 # Serial link to communicate with the display PyYAML~=6.0.2 # For themes files psutil~=6.1.0 # CPU / disk / network metrics From a46b54678f14b063caa68329c849cee8d54a8aa2 Mon Sep 17 00:00:00 2001 From: Matthieu Houdebine Date: Sat, 21 Dec 2024 12:08:07 +0100 Subject: [PATCH 2/2] Update to Pillow 11.x only for Python 3.9+ --- requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 934d10de..b32ba96a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ # Python packages requirements -Pillow~=11.0.0 # Image generation pyserial~=3.5 # Serial link to communicate with the display PyYAML~=6.0.2 # For themes files psutil~=6.1.0 # CPU / disk / network metrics @@ -10,6 +9,10 @@ sv-ttk~=2.6.0 # Tk Sun Valley theme for configuration editor tkinter-tooltip~=3.1.2 # Tooltips for configuration editor uptime~=3.0.1 # For System Uptime +# Image generation +Pillow~=10.4.0; python_version < "3.9" # For Python 3.8 max. +Pillow~=11.0.0; python_version >= "3.9" # For Python >=3.9 + # Efficient image serialization numpy~=1.24.4; python_version < "3.9" # For Python 3.8 max. numpy~=2.0.0; python_version == "3.9" # For Python 3.9, only numpy 2.0.x is supported as 2.1 only supports Python >=3.10