I have seen similar warnings also during building of the HPLIP package.
Looking into the Python documentation
https://docs.python.org/3/library/re.html
I have found out that the search patterns need to be supplied as raw
strings:
'^\d+' -> r'^\d+'
or backslashes need to get quoted:
'^\d+' -> '^\\d+'
As HPLIP contains hundreds of regular expressions it would be very
awkward to distro-patch this for Debian and Ubuntu, as the upstream code
is all the time changing.
An upstream fix would be the best solution.
Adding upstream task ...
** Also affects: hplip
Importance: Undecided
Status: New
** Changed in: hplip
Status: New => Incomplete
** Changed in: hplip
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2054869
Title:
Lot of SyntaxWarning messages during install
To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/2054869/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs