fitting.py:14: in <module>
from s3path import PureS3Path, S3Path
.venv/lib/python3.8/site-packages/s3path/__init__.py:28: in <module>
from .old_versions import (
E File "/builds/project/.venv/lib/python3.8/site-packages/s3path/old_versions.py", line 76
E new_regex_pattern += '/*\Z'
E ^
E SyntaxError: invalid escape sequence \Z
Suggestion: mark this as raw (r-) string:
and the problem should be solved.
I only have it on some builds, so may depend on the python version used. All of my systems have 3.8.* but it fails only on some.