From 023f6a5603e94c891eb56dff67f28252cbb70cfe Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 23 Dec 2024 10:14:25 -0500 Subject: [PATCH] API: bump the minimum version of pillow Version 9 fixes support for gifs + transparency and was released in January, 2022 so we are with in the 2-year support window for dependencies with compiled extensions. --- doc/install/dependencies.rst | 2 +- environment.yml | 2 +- pyproject.toml | 2 +- requirements/testing/minver.txt | 2 +- requirements/testing/mypy.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/install/dependencies.rst b/doc/install/dependencies.rst index da4198386605..4f8618921a0c 100644 --- a/doc/install/dependencies.rst +++ b/doc/install/dependencies.rst @@ -28,7 +28,7 @@ reference. * `kiwisolver `_ (>= 1.3.1) * `NumPy `_ (>= 1.23) * `packaging `_ (>= 20.0) -* `Pillow `_ (>= 8.0) +* `Pillow `_ (>= 9.0) * `pyparsing `_ (>= 2.3.1) diff --git a/environment.yml b/environment.yml index 4a36f76031ea..7b9ff51ae325 100644 --- a/environment.yml +++ b/environment.yml @@ -19,7 +19,7 @@ dependencies: - pybind11>=2.13.2 - meson-python>=0.13.1 - numpy<2.1 - - pillow>=8 + - pillow>=9 - pkg-config - pygobject - pyparsing>=2.3.1 diff --git a/pyproject.toml b/pyproject.toml index a83f7ed3ca9f..32abba6aabd5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ dependencies = [ "kiwisolver >= 1.3.1", "numpy >= 1.23", "packaging >= 20.0", - "pillow >= 8", + "pillow >= 9", "pyparsing >= 2.3.1", "python-dateutil >= 2.7", ] diff --git a/requirements/testing/minver.txt b/requirements/testing/minver.txt index 3932e68eb015..061683eea753 100644 --- a/requirements/testing/minver.txt +++ b/requirements/testing/minver.txt @@ -9,7 +9,7 @@ meson-python==0.13.1 meson==1.1.0 numpy==1.23.0 packaging==20.0 -pillow==8.3.2 +pillow==9.0.1 pyparsing==2.3.1 pytest==7.0.0 python-dateutil==2.7 diff --git a/requirements/testing/mypy.txt b/requirements/testing/mypy.txt index aa20581ee69b..93a792cff3eb 100644 --- a/requirements/testing/mypy.txt +++ b/requirements/testing/mypy.txt @@ -19,7 +19,7 @@ cycler>=0.10 fonttools>=4.22.0 kiwisolver>=1.3.1 packaging>=20.0 -pillow>=8 +pillow>=9 pyparsing>=2.3.1 python-dateutil>=2.7 setuptools_scm>=7