A Python-based web service to print labels on Brother QL label printers. Based on brother_ql_web (https://github.com/pklaus/brother_ql_web) with cherry picked contributions of others (https://github.com/koppenho/brother_ql_web/blob/master/CONTRIBUTING.md)
Describe the bug While running/printing labels several warnings appear in the logs, emitted from brother_ql_web.py:
DeprecationWarning: multiline_textsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use multiline_textbbox instead.
DeprecationWarning: textsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use textbbox or textlength instead.
deprecation warning: brother_ql.devicedependent is deprecated and will be removed in a future release
This must be considered as a bug because the code will no longer work with a future version of the libraries PIP and ImageDraw.
Expected behavior Rewrite code and avoid deprecated functions.