Some python libraries do not support extended-length path(UNC path). #15677
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Python
Native rules for Python
type: bug
Description of the bug:
Bazel modified the python packages path into extended-length path to support paths bigger than 256 characters in this PR: #2496 . But there are many python libraries that don't support extended-length path,include some python built-in packages like
os.path
.See related issues for more details:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
According to the Microsoft's documentation, Maybe we can support paths bigger than 256 characters without prefix
\\?\
which is not compatible with forward slash on windows 10.1607 or later version.But it need to be test, and I'm not sure if there is any other codes in bazel related to this bug.
Which operating system are you running Bazel on?
Windows 10
What is the output of
bazel info release
?release 4.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
#2504
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: