Skip to content

Commit

Permalink
Increase Pillow dependency range to include 10.x
Browse files Browse the repository at this point in the history
- Drop support for Pillow versions below `9.1.0`
- Fixes wagtail#10631
  • Loading branch information
yuekui authored and lb- committed Jul 6, 2023
1 parent 91a3c6d commit 1ea8a0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions docs/releases/5.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"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",
Expand Down

0 comments on commit 1ea8a0e

Please sign in to comment.