-
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Description
pypandoc/pypandoc/pandoc_download.py
Line 61 in 315c6b9
| regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") |
appears to contain a
SyntaxError. "|x86|mac).*\.(?:msi|deb|pkg)" should be r"|x86|mac).*\.(?:msi|deb|pkg)".
E File "/home/jdfen/dev/panvimwiki/.tox/default/.venv/lib/python3.11/site-packages/pypandoc/pandoc_download.py", line 61
E regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)")
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E SyntaxError: invalid escape sequence '\.'
The error manifests when using tox-uv to run pytest; normal tox with pip does not.
Metadata
Metadata
Assignees
Labels
No labels