-
-
Notifications
You must be signed in to change notification settings - Fork 591
pip.parse fails on ibis-framework #2705
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
Comments
I don't have a Windows box and currently have no time to set one up, SO i would highly appreciate more details:
EDIT: modified |
Thanks for taking a look. I might need your help to debug it on my side.
I think your last two questions are the root of the issue. The problematic path is a relative path |
Looking at the error log above I found a parameter The You can also use the same command in your shell/terminal to try and reproduce the issue. |
Not only was the .whl file missing, but also the rules_python++pip_pypi_311_ibis_framework directory was missing. Maybe bazel is creating that file temporarily and then deleting it when the error occurs? I have pasted the directory listing after running Additionally, I tried running the wheel extraction command from the debug output.
That resulted in this error.
I think maybe bazel is doing some additional environment setup that is not happening when I run the command directly. Here is what I found in the directory.
|
I found the wheel_installer.py and managed to monkey-patch it to copy the wheel file before the cleanup happens.
Changing the extension from
I have attached the .zip / .whl file. |
You may also obtain the wheel by executing |
It's looking like a long path name issue. The relevant file on my computer c:/Users/marki/_bazel_marki/paf6h5og/external/rules_python++internal_deps+pypi__installer/installer/destinations.py in Enabling long paths fixed the issue. |
🐞 bug report
Affected Rule
pip.parse
Is this a regression?
Yes. Although I do not remember which version it was.
Description
Cannot install ibis-framework from pypi using pip.parse.
🔬 Minimal Reproduction
Clone this repo. https://github.com/axbycc-mark/bazel-python-issue
On Windows, run
bazel run :requirements.update
and thenbazel run :main
.🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: