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

Some python libraries do not support extended-length path(UNC path). #15677

Closed
dhmemi opened this issue Jun 15, 2022 · 2 comments
Closed

Some python libraries do not support extended-length path(UNC path). #15677

dhmemi opened this issue Jun 15, 2022 · 2 comments
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

Comments

@dhmemi
Copy link
Contributor

dhmemi commented Jun 15, 2022

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 returns development 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

@UlrichEckhardt
Copy link

UlrichEckhardt commented Jun 24, 2022

Interesting, I just stumbled across this issue in the context of Gcovr or, rather the Jinja2 template renderer it uses. I'm seeing this using 5.1.1 though.

@dhmemi dhmemi changed the title Some python libraries do not support extended-length path. Some python libraries do not support extended-length path(UNC path). Jun 27, 2022
@comius comius added 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 and removed untriaged team-Rules-Python Native rules for Python type: support / not a bug (process) labels Jul 21, 2022
@comius
Copy link
Contributor

comius commented Jul 21, 2022

#15745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants