-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
editable install sometimes fails when setup.py opens other files (exemplified by piccolo_api) #4895
Comments
This comment was marked as outdated.
This comment was marked as outdated.
I think your issue report may be a duplicate of: #4869 |
I revisted this since I got further with editable installs working tonight on the new version, so I wanted to re-validate the ones that I commented on the other day, including this one. The new error I got seems to be related to the setup.py reading in other files, because when I edited the setup.py to not read from the two files it opens, it gets past this error.
See after I edited the setup.py to not read the files:
|
This comment was marked as outdated.
This comment was marked as outdated.
Ok, so the first time it fails, but generates a directory called |
This comment was marked as outdated.
This comment was marked as outdated.
Re-opening this issue since it more accurately documents the issue in latest version of Pipenv |
@trondhindenes Seems that the behavior is much improved in pip 22.0.4 -- if you try this branch out I think you will see that: #4969 I find that it always fails the first time and retries and does the second time successfully because
|
Please check with |
Issue description
I cloned this repo https://github.com/piccolo-orm/piccolo_api and am trying to install it "from dir" in another project. The fact that the repo contains a requirements folder folder instead of a single file seems to throw pipenv:
ERROR: Can't verify hashes for these file:// requirements because they point to directories:
Expected result
The package installation works
Actual result
package install fails
Steps to replicate
Clone the abovementioned repo, and then set up a new pipenv project in a different folder.
try and install the cloned repo from path (
pipenv install <path to cloned repo>
)Pipenv version:
'2021.11.23'
The text was updated successfully, but these errors were encountered: