Skip to content

Workaround for warning "'ImageDraw' object has no attribute 'textsize'" with pillow 10.0.0 - #473

Merged
lgirdwood merged 3 commits into
thesofproject:masterfrom
marc-hb:pillow-warn-WA
Jul 11, 2023
Merged

lgirdwood merged 3 commits into
thesofproject:masterfrom
marc-hb:pillow-warn-WA

Conversation

@marc-hb

@marc-hb marc-hb commented Jul 10, 2023

Copy link
Copy Markdown
Collaborator

3 commits, see commit message

marc-hb added 3 commits July 10, 2023 16:43
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
thesofproject#472

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
No point accepting versions older than the officially supported
versions.

Fixes commit 0d8991b ("Update req.txt file, update copyright,
change release number")

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Ubuntu 20.04 is old, we don't want to hear about it.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>

@btian1 btian1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sof-doc CI failure exists for several days, hope this fix can be merged ASAP.

@fredoh9 fredoh9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the update!

@lgirdwood
lgirdwood merged commit 2a658de into thesofproject:master Jul 11, 2023
@marc-hb
marc-hb deleted the pillow-warn-WA branch July 11, 2023 15:36
@marc-hb

marc-hb commented Jul 12, 2023

Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants