-
Notifications
You must be signed in to change notification settings - Fork 73
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
'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0 #472
Comments
Tested, incoming workaround:
|
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 <[email protected]>
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]>
There was a deprecation warning but sphinx has been hiding those:
This was added by @mwasko in commit 6ec5940. @mwasko could you check what is the newer way to do this? |
Bad news:
The not-so-bad news: we use blockdiag in a single place for @mwasko's relatively small diagram: 6ec5940 Could this diagram be re-done using something else? plantUML maybe? |
See thesofproject#472 for details. Signed-off-by: Marc Herbert <[email protected]>
See thesofproject#472 for details. Signed-off-by: Marc Herbert <[email protected]>
See #472 for details. Signed-off-by: Marc Herbert <[email protected]>
More discussion in newer #491 |
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 below.
https://github.com/thesofproject/sof/actions/workflows/daily-tests.yml
https://github.com/thesofproject/sof/actions/runs/5433906267/jobs/9881925923
Also seen in recent sof-docs PRs:
https://github.com/thesofproject/sof-docs/actions/runs/5461579335/jobs/9939764550
To reproduce:
The text was updated successfully, but these errors were encountered: