Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

marc-hb
Copy link
Collaborator

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

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>
Copy link

@btian1 btian1 left a comment

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.

Copy link
Contributor

@fredoh9 fredoh9 left a comment

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
Copy link
Collaborator Author

marc-hb commented Jul 12, 2023

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