[Pkg-xmpp-devel] Bug#1085782: poezio: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Tue Oct 22 15:44:17 BST 2024


Source: poezio
Version: 0.14-3
User: debian-python at lists.debian.org
Usertags: syntaxwarning

Hi Maintainer

The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].

Regards
Graham


[1] https://piuparts.debian.org/sid/source/p/poezio.html


  Setting up poezio (0.14-3) ...
  /usr/lib/python3/dist-packages/poezio_plugins/cyber.py:38:
SyntaxWarning: invalid escape sequence '\W'
    word for word in re.split('\W+', msg['body']) if len(word) > 3
  /usr/lib/python3/dist-packages/poezio_plugins/emoji_ascii.py:44:
SyntaxWarning: invalid escape sequence '\*'
    self.emoji_pattern =
re.compile('|'.join(self.emoji_to_ascii.keys()).replace('*', '\*'))
  /usr/lib/python3/dist-packages/poezio_plugins/emoji_ascii.py:45:
SyntaxWarning: invalid escape sequence '\+'
    self.alias_pattern =
re.compile('|'.join(self.ascii_to_emoji.keys()).replace('+', '\+'))
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:92:
SyntaxWarning: invalid escape sequence '\S'
    '(?:http[s]?://(?:\S+))|'
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:93:
SyntaxWarning: invalid escape sequence '\?'
    '(?:magnet:\?(?:\S+))|'
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:94:
SyntaxWarning: invalid escape sequence '\S'
    '(?:aesgcm://(?:\S+))|'
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:95:
SyntaxWarning: invalid escape sequence '\S'
    '(?:gopher://(?:\S+))|'
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:96:
SyntaxWarning: invalid escape sequence '\S'
    '(?:gemini://(?:\S+))'
  /usr/lib/python3/dist-packages/poezio_plugins/link.py:116:
SyntaxWarning: invalid escape sequence '\o'
    'Opens the last link from the conversation into a browser.\n\



More information about the Pkg-xmpp-devel mailing list