[Debian-med-packaging] Bug#1085796: psychopy: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Tue Oct 22 17:36:35 BST 2024
Source: psychopy
Version: 2023.2.4+dfsg-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/psychopy.html
Setting up psychopy (2023.2.4+dfsg-3) ...
/usr/lib/python3/dist-packages/psychopy/app/themes/fonts.py:571:
SyntaxWarning: invalid escape sequence '\('
val = re.sub("[\(\)\[\]]", "", val)
/usr/lib/python3/dist-packages/psychopy/app/utils.py:1549:
SyntaxWarning: invalid escape sequence '\:'
"https\:\/\/oauth2\:[\d\w]{64}@gitlab\.pavlovia\.org\/.*\.git":
"[[OAUTH key hidden]]" # Remove any oauth keys
/usr/lib/python3/dist-packages/psychopy/app/utils.py:1665:
SyntaxWarning: invalid escape sequence '\:'
"https\:\/\/oauth2\:[\d\w]{64}@gitlab\.pavlovia\.org\/.*\.git":
"[[OAUTH key hidden]]" # Remove any oauth keys
/usr/lib/python3/dist-packages/psychopy/projects/pavlovia.py:1304:
SyntaxWarning: invalid escape sequence '\/'
url = re.match("https:\/\/gitlab\.pavlovia\.org\/\w*\/\w*\.git", stdout)
/usr/lib/python3/dist-packages/psychopy/projects/pavlovia.py:1310:
SyntaxWarning: invalid escape sequence '\.'
path = re.sub("\.git[.\n]*", "", path)
/usr/lib/python3/dist-packages/psychopy/projects/pavlovia.py:1311:
SyntaxWarning: invalid escape sequence '\/'
path = re.sub("[.\n]*https:\/\/gitlab\.pavlovia\.org\/", "", path)
/usr/lib/python3/dist-packages/psychopy/tests/test_experiment/test_components/test_base_components.py:46:
SyntaxWarning: invalid escape sequence '\['
resourcesStr = re.search("(?<=resources: \[)[^\]]*", script).group(0)
/usr/lib/python3/dist-packages/psychopy/tests/test_experiment/test_params.py:94:
SyntaxWarning: invalid escape sequence '\w'
f"|(?<= )({pattern})(?=[^\w\s]+)" # space before and punctuation after
/usr/lib/python3/dist-packages/psychopy/tests/test_experiment/test_params.py:96:
SyntaxWarning: invalid escape sequence '\w'
f"|^({pattern})(?=[^\w\s]+)" # line start before and punctuation after
/usr/lib/python3/dist-packages/psychopy/tests/test_experiment/test_params.py:177:
SyntaxWarning: invalid escape sequence '\|'
"py": f"{_q}{_sl}, \| or /{_q}",
/usr/lib/python3/dist-packages/psychopy/tests/test_experiment/test_params.py:178:
SyntaxWarning: invalid escape sequence '\|'
"js": f"{_q}{_sl}, \| or /{_q}"},
More information about the Debian-med-packaging
mailing list