#1085750 ontospy: Python SyntaxWarning

#1085750#5
Date:
2024-10-22 11:47:10 UTC
From:
To:
Hi Maintainer

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

Regards
Graham


[1] https://piuparts.debian.org/sid/source/o/ontospy.html


  Setting up python3-ontospy (2.1.1~dfsg2-4) ...
  /usr/lib/python3/dist-packages/ontospy/core/utils.py:894:
SyntaxWarning: invalid escape sequence '\w'
    value = unicode(re.sub('[^\w\s-]', '', value.decode()).strip().lower())
  /usr/lib/python3/dist-packages/ontospy/core/utils.py:895:
SyntaxWarning: invalid escape sequence '\s'
    value = re.sub('[-\s]+', '-', value)