Increase Pillow dependency range to include 10.x

- Drop support for Pillow versions below `9.1.0`
- Fixes #10631
pull/10642/head
Yuekui 2023-07-04 16:34:50 -07:00 zatwierdzone przez LB (Ben Johnston)
rodzic 91a3c6d2c2
commit 1ea8a0e360
3 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -69,6 +69,7 @@ Changelog
* Maintenance: Refactor GroupPagePermission to use Django's Permission model (Sage Abdullah)
* Maintenance: Convert the CONTRIBUTORS file to Markdown (Dan Braghis)
* Maintenance: Move `django-filter` version upper bound to v24 (Yuekui)
* Maintenance: Update Pillow dependency to allow 10.x, only include support for >= 9.1.0 (Yuekui)
5.0.2 (21.06.2023)

Wyświetl plik

@ -103,10 +103,15 @@ Thank you to Damilola for his work, and to Google for sponsoring this project.
* Refactor GroupPagePermission to use Django's Permission model (Sage Abdullah)
* Convert the `CONTRIBUTORS` file to Markdown (Dan Braghis)
* Move `django-filter` version upper bound to v24 (Yuekui)
* Update Pillow dependency to allow 10.x, only include support for >= 9.1.0 (Yuekui)
## Upgrade considerations
## Pillow dependency update
Wagtail no longer supports Pillow versions below `9.1.0`.
### `insert_editor_css` hook is deprecated
The `insert_editor_css` hook has been deprecated. The `insert_global_admin_css` hook has the same functionality, and all uses of `insert_editor_css` should be changed to `insert_global_admin_css`.

Wyświetl plik

@ -27,7 +27,7 @@ install_requires = [
"djangorestframework>=3.11.1,<4.0",
"django-filter>=2.2,<24",
"draftjs_exporter>=2.1.5,<3.0",
"Pillow>=4.0.0,<10.0.0",
"Pillow>=9.1.0,<11.0.0",
"beautifulsoup4>=4.8,<4.12",
"html5lib>=0.999,<2",
"Willow>=1.5,<1.6",