Bug#1085538: denss: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Sun Oct 20 17:23:32 BST 2024


Source: denss
Version: 0.0.1+20200710gac8923a-2
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/d/denss.html


  Setting up python3-denss (0.0.1+20200710gac8923a-2) ...
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:330:
SyntaxWarning: invalid escape sequence '\s'
    five_col_fit =
re.compile('\s*\d*[.]\d*[+eE-]*\d+\s+-?\d*[.]\d*[+eE-]*\d+\s+\d*[.]\d*[+eE-]*\d+\s+\d*[.]\d*[+eE-]*\d+\s+\d*[.]\d*[+eE-]*\d+\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:331:
SyntaxWarning: invalid escape sequence '\s'
    three_col_fit =
re.compile('\s*\d*[.]\d*[+eE-]*\d+\s+-?\d*[.]\d*[+eE-]*\d+\s+\d*[.]\d*[+eE-]*\d+\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:332:
SyntaxWarning: invalid escape sequence '\s'
    two_col_fit =
re.compile('\s*\d*[.]\d*[+eE-]*\d+\s+-?\d*[.]\d*[+eE-]*\d+\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:334:
SyntaxWarning: invalid escape sequence '\s'
    results_fit =
re.compile('\s*Current\s+\d*[.]\d*[+eE-]*\d*\s+\d*[.]\d*[+eE-]*\d*\s+\d*[.]\d*[+eE-]*\d*\s+\d*[.]\d*[+eE-]*\d*\s+\d*[.]\d*[+eE-]*\d*\s+\d*[.]\d*[+eE-]*\d*\s*\d*[.]?\d*[+eE-]*\d*\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:336:
SyntaxWarning: invalid escape sequence '\s'
    te_fit = re.compile('\s*Total\s+[Ee]stimate\s*:\s+\d*[.]\d+\s*\(?[A-Za-z\s]+\)?\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:337:
SyntaxWarning: invalid escape sequence '\d'
    te_num_fit = re.compile('\d*[.]\d+')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:338:
SyntaxWarning: invalid escape sequence '\s'
    te_quality_fit = re.compile('[Aa][A-Za-z\s]+\)?\s*$')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:340:
SyntaxWarning: invalid escape sequence '\s'
    p_rg_fit = re.compile('\s*Real\s+space\s*\:?\s*Rg\:?\s*\=?\s*\d*[.]\d+[+eE-]*\d*\s*\+-\s*\d*[.]\d+[+eE-]*\d*')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:341:
SyntaxWarning: invalid escape sequence '\s'
    q_rg_fit = re.compile('\s*Reciprocal\s+space\s*\:?\s*Rg\:?\s*\=?\s*\d*[.]\d+[+eE-]*\d*\s*')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:343:
SyntaxWarning: invalid escape sequence '\s'
    p_i0_fit = re.compile('\s*Real\s+space\s*\:?[A-Za-z0-9\s\.,+-=]*\(0\)\:?\s*\=?\s*\d*[.]\d+[+eE-]*\d*\s*\+-\s*\d*[.]\d+[+eE-]*\d*')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:344:
SyntaxWarning: invalid escape sequence '\s'
    q_i0_fit = re.compile('\s*Reciprocal\s+space\s*\:?[A-Za-z0-9\s\.,+-=]*\(0\)\:?\s*\=?\s*\d*[.]\d+[+eE-]*\d*\s*')
  /usr/lib/python3/dist-packages/saxstats/saxstats.py:487:
SyntaxWarning: invalid escape sequence '\s'
    iq_pattern =
re.compile('\s*\d*[.]\d*[+eE-]*\d+\s+-?\d*[.]\d*[+eE-]*\d+\s+\d*[.]\d*[+eE-]*\d+\s*')



More information about the debian-science-maintainers mailing list