Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning: invalid escape sequence #2052

Open
imTHAI opened this issue Nov 30, 2024 · 2 comments
Open

SyntaxWarning: invalid escape sequence #2052

imTHAI opened this issue Nov 30, 2024 · 2 comments

Comments

@imTHAI
Copy link

imTHAI commented Nov 30, 2024

Hello,

I just reinstalled my Mac and did a restore:

$ mackup restore
/opt/homebrew/Cellar/mackup/0.8.41/libexec/lib/python3.13/site-packages/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
  name = re.findall('(<\S*?>)', source)[0]
/opt/homebrew/Cellar/mackup/0.8.41/libexec/lib/python3.13/site-packages/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
  value = re.findall('\[default: (.*)\]', source, flags=re.I)
/opt/homebrew/Cellar/mackup/0.8.41/libexec/lib/python3.13/site-packages/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
  matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/opt/homebrew/Cellar/mackup/0.8.41/libexec/lib/python3.13/site-packages/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
  split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]

Do you know what's wrong?
It is not the first time I use mackup after I install one of my Mac but it's the first time I get this error.

@hjkatz
Copy link

hjkatz commented Dec 9, 2024

Same issue here after upgrading via homebrew to version: 0.8.41

@ngaloppo
Copy link

ngaloppo commented Jan 3, 2025

Same. Related to #1986. Not sure why that one was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants