Closed Sineaggi closed 6 months ago
It seems to be a doc comment.
"""... os.path.normpath changes / to \ on windows, but tarfile needs / style paths. ... """
But, I can't reproduce that problem. It works fine for my with python 3.11 and above. Can you provide a simple repro?
This issue can be closed since it is fixed with https://github.com/bazelbuild/rules_pkg/commit/6cad5fb7a673004d732e07a61fcb8301bde513e5 Thanks @alexbozhenko!
Receiving a warning when running on python 3.12
pkg/private/tar/build_tar.py:29: SyntaxWarning: invalid escape sequence '\ '