Bug#1085420: cmor: Python SyntaxWarning

Graham Inggs ginggs at debian.org
Sat Oct 19 12:33:50 BST 2024


Source: cmor
Version: 3.9.0-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/c/cmor.html


  Setting up python3-cmor (3.9.0-1) ...
  /usr/lib/python3/dist-packages/cmip6_cv/PrePARE/PrePARE.py:627:
SyntaxWarning: invalid escape sequence '\w'
    pattern = re.compile('(?:area|volume): (\w+)')
  /usr/lib/python3/dist-packages/cmip6_cv/PrePARE/PrePARE.py:833:
SyntaxWarning: invalid escape sequence '\.'
    default='^.*/\.[\w]*$',
  /usr/lib/python3/dist-packages/cmip6_cv/PrePARE/PrePARE.py:886:
SyntaxWarning: invalid escape sequence '\.'
    file_filters.append(('^.*\.nc$', True))
  /usr/lib/python3/dist-packages/cmip6_cv/PrePARE/PrePARE.py:891:
SyntaxWarning: invalid escape sequence '\.'
    file_filters.append(('^\..*$', False))



More information about the debian-science-maintainers mailing list