Switch from Python 2.7 to Python 3.7.
Patch from Reiner Herrmann <reiner (at) reiner-h.de> via Debian.