From 7cdcca3cb4b7caf27d511d1c4e32fa3297391709 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Wed, 2 Apr 2025 15:43:15 +0800 Subject: [PATCH] build: bump pillow for Python >=3.9 Pillow 10 does not support Python 3.13 and Pillow 11 does not support Python 3.8. Allowing Pillow from 9.5.0 to 11.1.0 in requirements to adapt Pillow 11 when it's available. Signed-off-by: Icenowy Zheng --- pyproject.toml | 3 +-- scripts/moonraker-requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c6a29eb..24ed07d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,7 @@ authors = [ dependencies = [ "tornado>=6.2.0, <=6.4.2", "pyserial==3.4", - "pillow==9.5.0 ; python_version=='3.7'", - "pillow==10.3.0 ; python_version>='3.8'", + "pillow>=9.5.0, <=11.1.0", "streaming-form-data>=1.11.0, <=1.19.1", "distro==1.9.0", "inotify-simple==1.3.5", diff --git a/scripts/moonraker-requirements.txt b/scripts/moonraker-requirements.txt index e194e96..932b96f 100644 --- a/scripts/moonraker-requirements.txt +++ b/scripts/moonraker-requirements.txt @@ -2,8 +2,7 @@ --find-links=python_wheels tornado>=6.2.0, <=6.4.2 pyserial==3.4 -pillow==9.5.0 ; python_version=='3.7' -pillow==10.3.0 ; python_version>='3.8' +pillow>=9.5.0, <=11.1.0 streaming-form-data>=1.11.0, <=1.19.1 distro==1.9.0 inotify-simple==1.3.5