From d4e21cf8d259314485c65185a4a5a6189bf2b9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 5 Nov 2023 13:51:51 +0100 Subject: [PATCH] Relax Pillow version bounds. For Pillow, the change in commit e04e183b - chore: apply PIL major changes and increase min version specifier (#1237) that does the `font.getsize()` -> `font.getbbox()` migration is definitely already available in Pillow 9.2.0, see https://pillow.readthedocs.io/en/stable/deprecations.html#font-size-and-offset-methods > Deprecated since version 9.2.0. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7c7522dd1c..751bf2d0a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ dependencies = [ "rapidfuzz>=3.0.0,<4.0.0", "matplotlib>=3.1.0", "weasyprint>=55.0", - "Pillow>=10.0.0", + "Pillow>=9.2.0", "defusedxml>=0.7.0", "mplcursors>=0.3", "unidecode>=1.0.0",