-
-
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
pipenv lock
fails when Pipfile
points to setup.py
with VCS dependency
#3576
Comments
This is resolved as of #3298 In addition, with |
Found this before opening a new issue. I am experiencing a similar, if not same, issue with current I've set an alias In the past, I had created two reference projects to demonstrate how dependencies to private repos work or need to be setup. These may help with reproducing the issue: In the past, using Issue descriptionUnable to properly install the dependency (pipenv-dependency) and create a
However, using both helps get the desired environment setup (Workaround). Scenario 1 -
|
Sorry to bother, @techalchemy. Am I doing something wrong? Should this be reopened or should I open a new issue? |
Issue description
pipenv lock
fails whenPipfile
contains{editable = true, path = "."}
andsetup.py
contains VCS dependency.pipenv install --skip-lock
completes without any issues. I've triedpipenv lock --clear
and removed pip local cache with no luck, the same error occurs.At the same time when I push
package1
into the git repo and then add it into a newPipfile
in a freshpipenv
environment,pipenv install
succeeds even without--skip-lock
. So I suspectpipenv
doesn't play well together withsetup.py
and VCS dependencies for some reason.If I remember correctly, I've had some similar issues before and solved them by using
PIP_PROCESS_DEPENDENCY_LINKS=1
env variable, but newer versions of pip do not support this anymore.Project setup:
Pipfile
:setup.py
:Expected result
Pipfile.lock
is generated.Actual result
I'm getting the following error:
Steps to replicate
Not sure whether it's common issue with VCS dependencies or just this case.
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/opt/python/bin/python3.6'
Python installations found:
3.6.5
:/usr/local/bin/python3
3.6.5
:/usr/local/bin/python3.6m
2.7.15
:/usr/local/bin/python
2.7.15
:/usr/local/bin/pythonw
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
Apple_PubSub_Socket_Render
HOME
LANG
LC_ALL
LC_CTYPE
LOGNAME
NPM_CONFIG_PREFIX
PATH
PWD
SECURITYSESSIONID
SHELL
SHLVL
SSH_AUTH_SOCK
TERM
TERM_PROGRAM
TERM_PROGRAM_VERSION
TERM_SESSION_ID
TMPDIR
USER
XPC_FLAGS
XPC_SERVICE_NAME
__CF_USER_TEXT_ENCODING
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/dmitryd/.poetry/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/dmitryd/.npm-global/bin:/Users/dmitryd/Library/Python/3.6/bin:/usr/local/bin:/usr/local/sbin
SHELL
:/usr/local/bin/fish
LANG
:en_GB.UTF-8
PWD
:/.../python-packages/package1
Contents of
Pipfile
('/.../package1/Pipfile'):The text was updated successfully, but these errors were encountered: