Title: 'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0 · Issue #472 · thesofproject/sof-docs · GitHub
Open Graph Title: 'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0 · Issue #472 · thesofproject/sof-docs
X Title: 'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0 · Issue #472 · thesofproject/sof-docs
Description: 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/thesofpro...
Open Graph Description: 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 war...
X Description: 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 wi...
Opengraph URL: https://github.com/thesofproject/sof-docs/issues/472
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'ImageDraw' object has no attribute 'textsize' warning with new pillow version 10.0.0","articleBody":"On July 1st, python library \"Pillow\" (needed by sphinxcontrib.blockdiag) released version 10.0.0\r\nhttps://pypi.org/project/Pillow/#history\r\n\r\nThe sof-docs build immediately started to fail with the warning below.\r\n\r\nhttps://github.com/thesofproject/sof/actions/workflows/daily-tests.yml\r\nhttps://github.com/thesofproject/sof/actions/runs/5433906267/jobs/9881925923\r\n\r\n\u003e WARNING: dot code 'blockdiag edf_scheduling {\\n\\n\\tnode_width = 250;\\n\\tnode_height = 120;\\n\\tdefault_fontsize = 16;\\n\\n\\tComp_1 -\u003e Comp_2\\n\\tcomment_1 -\u003e Comp_2 [style=dashed]\\n\\tComp_2 -\u003e Comp_3\\n\\tcomment_2 -\u003e Comp_3 [style=dashed]\\n\\tComp_3 -\u003e Comp_4\\n\\tcomment_3 -\u003e Comp_4 [style=dashed]\\n\\tComp_4 -\u003e sink\\n\\tcomment_4 -\u003e sink [style=dashed]\\n\\n\\tComp_1 [label=\"DP component 1\\\\n\\n\\t\\t*processing period\\\\n\\n\\t\\t*compute requirement\"]\\n\\tComp_2 [label=\"DP component 2\\\\n\\n\\t\\t*processing period\\\\n\\n\\t\\t*compute requirement\"]\\n\\tComp_3 [label=\"DP component 3\\\\n\\n\\t\\t*processing period\\\\n\\n\\t\\t*compute requirement\"]\\n\\tComp_4 [label=\"DP component 4\\\\n\\n\\t\\t*processing period\\\\n\\n\\t\\t*compute requirement\"]\\n\\n\\tsink [label=\"real time sink\", shape=endpoint, fontsize = 16]\\n\\n\\tcomment_1 [label=\"DP1 to deliver data let\\\\n\\n\\t\\tDP2 meet its objective\"]\\n\\tcomment_2 [label=\"DP2 to deliver data let\\\\n\\n\\t\\tDP3 meet its objective\"]\\n\\tcomment_3 [label=\"DP3 to deliver data let\\\\n\\n\\t\\tDP4 meet its objective\"]\\n\\tcomment_4 [label=\"DP4 to deliver data\\\\n\\n\\t\\tto real time-sink\"]\\n}\\n': 'ImageDraw' object has no attribute 'textsize'\r\ngenerating indices... genindex done\r\n\r\nAlso seen in recent sof-docs PRs:\r\nhttps://github.com/thesofproject/sof-docs/actions/runs/5461579335/jobs/9939764550\r\n\r\n\r\nTo reproduce:\r\n```\r\npip3 install -r scripts/requirements.txt\r\n# override the debian package python3-pil or whatever else\r\npip3 install pillow==10.0.0\r\n\r\nCollecting Pillow==10\r\n Using cached Pillow-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)\r\n\r\n# It's just a warning so we need a re-build\r\nmake clean\r\n# ... or this shortcut seems to be enough\r\nrm _build/html/architectures/firmware/sof-zephyr/mpp_layer/mpp_scheduling.html\r\n```\r\n\r\n\r\n\u003cimg width=\"1143\" alt=\"Screenshot 2023-07-10 at 17 01 56\" src=\"https://github.com/thesofproject/sof-docs/assets/46978960/370490d8-dd6f-4f34-8925-83a4d9675aa8\"\u003e\r\n","author":{"url":"https://github.com/marc-hb","@type":"Person","name":"marc-hb"},"datePublished":"2023-07-10T23:40:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/472/sof-docs/issues/472"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e7915584-0987-647f-4f69-4a37b01d142e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D384:F741F:2ACAA34:38BB0CF:698180FC |
| html-safe-nonce | 4c2369a45efb8e2d080d3d8736b604ad225324c1e31b03f8f6a92f67ad508cd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzg0OkY3NDFGOjJBQ0FBMzQ6MzhCQjBDRjo2OTgxODBGQyIsInZpc2l0b3JfaWQiOiIxNjQxNDU3Nzk3MDI1NTk1NjQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 44f5c1109267771c2799fa0b7980d35f0fdbd088f89f6a94c2acda7192bdd89f |
| hovercard-subject-tag | issue:1797788270 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/thesofproject/sof-docs/472/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8db2478c44d4674757587ebd2d21d8cc50473a58dbe87c0089f02a24ea91f690/thesofproject/sof-docs/issues/472 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8db2478c44d4674757587ebd2d21d8cc50473a58dbe87c0089f02a24ea91f690/thesofproject/sof-docs/issues/472 |
| og:image:alt | 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 war... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marc-hb |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| go-import | github.com/thesofproject/sof-docs git https://github.com/thesofproject/sof-docs.git |
| octolytics-dimension-user_id | 39773507 |
| octolytics-dimension-user_login | thesofproject |
| octolytics-dimension-repository_id | 135632972 |
| octolytics-dimension-repository_nwo | thesofproject/sof-docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135632972 |
| octolytics-dimension-repository_network_root_nwo | thesofproject/sof-docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width