[Debian-med-packaging] Bug#1085895: python-cgecore: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Wed Oct 23 12:25:15 BST 2024


Source: python-cgecore
Version: 1.5.6+ds-1
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/python-cgecore.html


  Setting up python3-cgecore (1.5.6+ds-1) ...
  /usr/lib/python3/dist-packages/cgecore/cgefinder.py:242:
SyntaxWarning: invalid escape sequence '\w'
    start = re.search("^-*(\w+)", align_query).start(1)
  /usr/lib/python3/dist-packages/cgecore/cgefinder.py:243:
SyntaxWarning: invalid escape sequence '\w'
    end = re.search("\w+(-*)$", align_query).start(1)
  /usr/lib/python3/dist-packages/cgecore/utility.py:137:
SyntaxWarning: invalid escape sequence '\{'
    """
  /usr/lib/python3/dist-packages/cgecore/utility.py:491:
SyntaxWarning: invalid escape sequence '\w'
    src = re.sub('[^\w/\-\.\*]', '', src)
  /usr/lib/python3/dist-packages/cgecore/utility.py:492:
SyntaxWarning: invalid escape sequence '\w'
    dst = re.sub('[^\w/\-\.\*]', '', dst)
  /usr/lib/python3/dist-packages/cgecore/utility.py:493:
SyntaxWarning: invalid escape sequence '\W'
    if len(re.sub('[\W]', '', src)) < 5 or len(re.sub('[\W]', '', dst)) < 5:
  /usr/lib/python3/dist-packages/cgecore/utility.py:493:
SyntaxWarning: invalid escape sequence '\W'
    if len(re.sub('[\W]', '', src)) < 5 or len(re.sub('[\W]', '', dst)) < 5:
  /usr/lib/python3/dist-packages/cgecore/utility.py:520:
SyntaxWarning: invalid escape sequence '\w'
    invalid_chars = re.findall('[^\w/\-\.\*]', os.path.basename(file_))
  /usr/lib/python3/dist-packages/cgecore/utility.py:539:
SyntaxWarning: invalid escape sequence '\w'
    src = re.sub('[^\w/\-\.\*]', '', src)
  /usr/lib/python3/dist-packages/cgecore/utility.py:540:
SyntaxWarning: invalid escape sequence '\w'
    dst = re.sub('[^\w/\-\.\*]', '', dst)
  /usr/lib/python3/dist-packages/cgecore/utility.py:541:
SyntaxWarning: invalid escape sequence '\W'
    if len(re.sub('[\W]', '', src)) < 5 or len(re.sub('[\W]', '', dst)) < 5:
  /usr/lib/python3/dist-packages/cgecore/utility.py:541:
SyntaxWarning: invalid escape sequence '\W'
    if len(re.sub('[\W]', '', src)) < 5 or len(re.sub('[\W]', '', dst)) < 5:



More information about the Debian-med-packaging mailing list