Skip to content

Commit 73ac8f5

Browse files
marc-hblgirdwood
authored andcommitted
scripts/requirements*.txt: pillow<10 to avoid warning
On July 1st, python library "Pillow" (needed by sphinxcontrib.blockdiag) released version 10.0.0 https://pypi.org/project/Pillow/#history The sof-docs build immediately started to fail with the warning "'ImageDraw' object has no attribute 'textsize'" Stick to pillow<10 for now to avoid the warning. More details in issue #472 Signed-off-by: Marc Herbert <[email protected]>
1 parent 60a41cf commit 73ac8f5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

scripts/requirements-lax.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ sphinxcontrib.plantuml>=0.11,<0.25
5858
# - Downgrade if successfully tested.
5959
# - Test with plantum set to "none" in conf.py. We don't want small
6060
# typo fixes to depend on UML diagrams.
61+
62+
# Workaround for warning "'ImageDraw' object has no attribute 'textsize'"
63+
# with pillow 10.0.0, see
64+
# https://github.com/thesofproject/sof-docs/issues/472
65+
pillow<10

scripts/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ docutils==0.17.1
66
sphinx_rtd_theme
77
sphinxcontrib-plantuml
88
sphinxcontrib-blockdiag
9+
10+
11+
# Workaround for warning "'ImageDraw' object has no attribute 'textsize'"
12+
# with pillow 10.0.0, see
13+
# https://github.com/thesofproject/sof-docs/issues/472
14+
pillow<10

0 commit comments

Comments
 (0)