Regression in 2020.05.28 -- pipenv omits installation of dependencies in enclosing virtualenv if they are installed system-wide #4276
Labels
Type: Bug 🐛
This issue is a bug.
Type: Regression
This issue is a regression of a previous behavior.
Milestone
Issue description
Let's assume that we have some system-wide pip dependencies installed. In our scenario we are creating and activating new virtualenv which starts fresh, without any dependencies. Next we are installing all dependencies from the
Pipfile.lock
usingpipenv install --ignore-pipfile --deploy --dev
. Pipenv informs that it will use the virtualenv that has been activated in previous step:Once the installation is done we can see that dependencies that were previously installed system-wide were omitted and not installed in the virtualenv.
Pipfile
Pipfile.lock
Expected result
All dependencies defined in
Pipfile.lock
should be installed in the virtualenv. Expected set of dependencies:Actual result
Only dependencies not being installed system-wide are installed in the virtualenv. Actual set of installed depedencies:
Steps to replicate
Pipfile
enclosing directorypipenv install
within the activated virtualenv$ pipenv --support
Pipenv version:
'2020.5.28'
Pipenv location:
'/usr/local/lib/python3.7/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.7.7
:/usr/local/bin/python3.7m
3.7.7
:/usr/local/bin/python3
3.7.7
:/usr/local/bin/python3.7
3.7.3
:/usr/bin/python3.7m
3.7.3
:/usr/bin/python3
3.7.3
:/usr/bin/python3.7
2.7.16
:/usr/bin/python2
2.7.16
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_VERSION
PWD
HOME
LANG
GPG_KEY
TERM
PROJECT_PATH
SHLVL
PYTHON_PIP_VERSION
PYTHON_GET_PIP_SHA256
PYTHON_GET_PIP_URL
PATH
_
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
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/home/node
The text was updated successfully, but these errors were encountered: