From cb274b595a206b4e6c58f147705af80074b99cd4 Mon Sep 17 00:00:00 2001 From: Justin Su Date: Sat, 17 Feb 2024 19:19:42 -0500 Subject: [PATCH] Update setup.py now that Pillow >= 10.1 supports Python 3.12 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f84254d..faa1ce3 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,8 @@ # necessary to have screenshots work with Wayland (the # replacement for x11.) Therefore, for 3.7 and later, PyScreeze # requires 9.2.0. - install_requires=['Pillow >= 9.3.0; python_version == "3.11"', + install_requires=['Pillow >= 10.1.0; python_version == "3.12"', + 'Pillow >= 9.3.0; python_version == "3.11"', 'Pillow >= 9.2.0; python_version == "3.10"', 'Pillow >= 9.2.0; python_version == "3.9"', # 'Pillow >= 8.0.0; python_version == "3.9"', 'Pillow >= 9.2.0; python_version == "3.8"', # 'Pillow >= 6.2.1; python_version == "3.8"',