The `get_string` method from the `pyusb` package has changed its signature after version 1.0.0b1 so we used to force the IoT Box to use this version to avoid an error. The problem is that version 1.0.0b1 has dependencies that raise DeprecationWarings in Raspbian Buster. We then want to update the version of pyusb that is installed on the IoT Box in 14.0. As the Driver might be loaded to old versions of the IoT Box as well as new ones, we need to check what version of the package is present on the IoT Box before calling `get_string`. This check will be removed in 14.0, as people will have to use the latest version of the IoT Box. closes odoo/odoo#52374 X-original-commit: e5475ae8ceca2121d15985ac7446f90dbd59b485 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
The escpos directory contains the MIT licensed pyxmlescpos lib taken from