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
Installing local package with pipenv install '-e .' --dev
no longer works.
#1012
Comments
Full traceback:
|
@grets @ipmb thanks for the report. We are aware of this issue and have a fix coming. I'm going to go ahead and close this as a duplicate of #960 #939 #949 #914 #817 with a fix pending in #958: ◰³ tempenv-0fe31406509ec ~/g/test-pipenv-dep master + pipenv install '-e .'
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project.
Creating a Pipfile for this project…
Installing -e .…
Obtaining file:///home/hawk/git/test-pipenv-dep
Installing collected packages: test-pipenv-dep
Running setup.py develop for test-pipenv-dep
Successfully installed test-pipenv-dep
Adding -e . to Pipfile's [packages]…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (6fc905)! |
ah, just ran into this as well |
quick workaround - add |
@AlJohri that's a nice workaround actually! |
This is resolved in #958 |
The feature described https://docs.pipenv.org/basics.html#editable-dependencies-e-g-e was broken in this commit kennethreitz@0a48fa0
In the most recent version of pipenv (8.3.1),
pipenv install '-e .' --dev
fails with a TypeError from this line https://github.com/kennethreitz/pipenv/blob/v8.3.1/pipenv/utils.py#L540Since '.' is a directory and not a regular file, it fails the check on L539
os.path.isfile(req.path)
and theRequirements
object name is None when parsing this type of requirement which causes the exception to be raised.Installing pipenv==8.2.7 resolved this issue for me.
The text was updated successfully, but these errors were encountered: