-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Install namespace package with --prefix does not install the actual package files #5641
Comments
On a side-note, shouldn't |
Here's the full output from the installation: https://pastebin.com/7eh0p4Jx (too long for GitHub comments) |
Can you reproduce with: > rm -rf prefix && ./venv/bin/pip install --no-cache --prefix prefix --no-deps hurry.filesize
> find prefix
prefix
prefix/lib
prefix/lib/python3.7
prefix/lib/python3.7/site-packages
prefix/lib/python3.7/site-packages/hurry.filesize-0.9-py3.7.egg-info
prefix/lib/python3.7/site-packages/hurry.filesize-0.9-py3.7.egg-info/installed-files.txt It works fine without |
Yes, I can reproduce it with this command. Any idea where to start looking for the cause? |
This is easy to reproduce with the latest pip and a non-namespace package. The problem is that for the legacy code path (what we do for non-PEP 517 packages when wheel is not installed), we run the t.sh
Output
The easiest fix is just to make We would also need a test for this, which would look like |
Quick update: This issue will be obsolete when |
With 23.1 and #11874 around the corner we can close this. |
You can see that the
hurry
directory doesn't actually exist – even though theinstalled-files.txt
lists it with the package files as being installed.Edit 1 fixed Python version
The text was updated successfully, but these errors were encountered: