Skip to content

Commit 23b1891

Browse files
authored
ci: Unpin pillow, allow >=10.0.0 (#3764)
1 parent 17baaa2 commit 23b1891

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ doc = [
9292
"sphinxext_altair",
9393
"jinja2",
9494
"numpydoc",
95-
"pillow>=9,<10",
95+
"pillow",
9696
"pydata-sphinx-theme>=0.14.1",
9797
"myst-parser",
9898
"sphinx_copybutton",

sphinxext/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create_thumbnail(
3030
final_height = height
3131
final_width = int(im_width * height_factor)
3232

33-
thumb = im.resize((final_width, final_height), Image.ANTIALIAS)
33+
thumb = im.resize((final_width, final_height), Image.Resampling.LANCZOS)
3434
thumb.save(thumb_filename)
3535

3636

0 commit comments

Comments
 (0)