Skip to content

Commit eace81c

Browse files
BoboTiGjreback
authored andcommitted
Fix DeprecationWarning: invalid escape sequence in versioneer.py (pandas-dev#24636)
1 parent ebd598a commit eace81c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: versioneer.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,9 @@ def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False):
464464
print("unable to run %s (error)" % dispcmd)
465465
return None
466466
return stdout
467-
LONG_VERSION_PY['git'] = '''
467+
468+
469+
LONG_VERSION_PY['git'] = r'''
468470
# This file helps to compute a version number in source trees obtained from
469471
# git-archive tarball (such as those provided by githubs download-from-tag
470472
# feature). Distribution tarballs (built by setup.py sdist) and build

0 commit comments

Comments
 (0)