Comment 5 for bug 2054869

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

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 ...