• Bug#1068625: python3-sphinxcontrib.httpdomain: SyntaxWarning: invalid e

    From Julian Gilbey@21:1/5 to All on Mon Apr 8 10:10:01 2024
    Package: python3-sphinxcontrib.httpdomain
    Version: 1.8.0-3
    Severity: normal
    Tags: patch

    When installing this package in unstable (so it is byte-compiled by python3.12), the following warning appears:

    /usr/lib/python3/dist-packages/sphinxcontrib/autohttp/flask_base.py:82: SyntaxWarning: invalid escape sequence '\s'
    rcomp = re.compile("^\s*.. :quickref:\s*(?P<quick>.*)$")

    Patch: either the regexp needs to be a raw string (r"^\s*.. [...]"),
    or the two backslashes need quoting ("^\\s*.. [...]").

    Best wishes,

    Julian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)