pipenv lock fails on library with dependency_links (for private repo dependency) #2613
Labels
Category: Dependency Resolution
Issue relates to dependency resolution.
Type: Bug 🐛
This issue is a bug.
Issue description
This seems to be a regression introduced in
v2018.6.25
with respect to installing libraries whosesetup.py
contains adependency_links
section (which is used when the library depends on a package from a private VCS repository). Starting withv2018.6.25
, pipenv fails to install such libraries.I wrote a test to demonstrate that behavior here.
When I cherry-pick this commit on top of the
tag:v2018.5.18
the test passes, but it fails when I cherry-pick it on top of the currentmaster
branch.I'm glad to try and fix this if it is a simple problem and given some guidance.
Expected result
The test should pass.
Actual result
The test fails with this error
Full error log here
Note that the error happens during locking, after the dependency-link has been fetched successfully and installed during the initial install phase.
Steps to replicate
$ pipenv --support
Pipenv version:
'2018.7.1.dev0'
Pipenv location:
'/Users/alextzannes/src/pipenv-altfork/pipenv'
Python location:
'/Users/alextzannes/src/pipenv-altfork/.venv/bin/python3.6'
Other Python installations in
PATH
:2.7
:/usr/local/bin/python2.7
2.7
:/usr/local/bin/python2.7
2.7
:/usr/bin/python2.7
3.6
:/usr/local/bin/python3.6m
3.6
:/Users/alextzannes/src/pipenv-altfork/.venv/bin/python3.6
3.6
:/usr/local/bin/python3.6
3.6.5
:/Users/alextzannes/src/pipenv-altfork/.venv/bin/python
2.7.14
:/usr/local/bin/python
2.7.10
:/usr/bin/python
2.7.14
:/usr/local/bin/python2
3.6.5
:/Users/alextzannes/src/pipenv-altfork/.venv/bin/python3
3.6.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
TERM_PROGRAM
PIP_PYTHON_PATH
TERM
SHELL
CLICOLOR
HELLO
PIPENV_VENV_IN_PROJECT
TMPDIR
Apple_PubSub_Socket_Render
VAULT_ADDR
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
COMMAND_MODE
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
VIRTUAL_ENV
PIPENV_ACTIVE
PATH
JENV_LOADED
PWD
EDITOR
LANG
ITERM_PROFILE
XPC_FLAGS
PS1
PYTHONDONTWRITEBYTECODE
PIP_PROCESS_DEPENDENCY_LINKS
XPC_SERVICE_NAME
KOPS_STATE_STORE
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LOGNAME
PKG_CONFIG_PATH
NETRC
DISPLAY
SECURITYSESSIONID
COLORTERM
_
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:True
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/Users/alextzannes/src/pipenv-altfork/.venv/bin:/Users/alextzannes/bin:/Users/alextzannes/src/misc-scripts/alex/infra:/usr/local/opt/postgresql@9.6/bin:/Users/alextzannes/.jenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/alextzannes/bin:/Users/alextzannes/src/misc-scripts/alex/infra:/usr/local/opt/postgresql@9.6/bin:/Users/alextzannes/.jenv/shims
SHELL
:/bin/bash
EDITOR
:vim
LANG
:en_US.UTF-8
PWD
:/Users/alextzannes/src/pipenv-altfork
VIRTUAL_ENV
:/Users/alextzannes/src/pipenv-altfork/.venv
Contents of
Pipfile
('/Users/alextzannes/src/pipenv-altfork/Pipfile'):Contents of
Pipfile.lock
('/Users/alextzannes/src/pipenv-altfork/Pipfile.lock'):The text was updated successfully, but these errors were encountered: