You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0 #472
pip3 install -r scripts/requirements.txt
# override the debian package python3-pil or whatever else
pip3 install pillow==10.0.0
Collecting Pillow==10
Using cached Pillow-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
# It's just a warning so we need a re-build
make clean
# ... or this shortcut seems to be enough
rm _build/html/architectures/firmware/sof-zephyr/mpp_layer/mpp_scheduling.html
Activity
marc-hb commentedon Jul 10, 2023
Tested, incoming workaround:
pip install 'pillow<10'scripts/requirements*.txt: pillow<10 to avoid warning
scripts/requirements*.txt: pillow<10 to avoid warning
marc-hb commentedon Jul 11, 2023
https://github.com/thesofproject/sof-docs/blob/60a41cf68d6478/architectures/firmware/sof-zephyr/mpp_layer/images/mpp_scheduling/edf_scheduling.diag
Workaround merged:
marc-hb commentedon Jul 12, 2023
There was a deprecation warning but sphinx has been hiding those:
ImageDraw.textsizeblockdiag/sphinxcontrib-blockdiag#26Apparently we can't do this anymoreblockdiagis orphaned and not compatible with Pillow 10 no matter what you do with blockdiag.This was added by @mwasko in commit 6ec5940.
@mwasko could you check what is the newer way to do this?
marc-hb commentedon Feb 24, 2024
Bad news:
blockdiagis orphaned:The not-so-bad news: we use blockdiag in a single place for @mwasko's relatively small diagram: 6ec5940
https://thesofproject.github.io/latest/architectures/firmware/sof-zephyr/mpp_layer/mpp_scheduling.html
Could this diagram be re-done using something else? plantUML maybe?
Add warnings to stop using blockdiag as it is orphaned
Add FIXMEs to stop using blockdiag as it is orphaned
lgirdwood commentedon Feb 26, 2024
@mmaka1 @mwasko any suggestions to replace blockdiag for diagrams ?
Add FIXMEs to stop using blockdiag as it is orphaned
marc-hb commentedon Apr 15, 2024
More discussion in newer #491
docs: Drop orphaned blockdiag extension
docs: Drop orphaned blockdiag extension