DeprecationWarning in Balena console at startup
jruys opened this issue · comments
Jan-Willem Ruys commented
At startup of the Train Departure Display service I get several warnings like listed below. Seems to spell doom on or after 2023/07.
Starting Train Departure Display v0.3.4
src/main.py:175: DeprecationWarning: textsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use textbbox or textlength instead.
nameSize = draw.textsize("UK Train Departure Display", fontBold)
Chris Crocker-White commented
Thanks for reporting @jruys - I've created a PR to resolve this.