pipenv ignore environment variable PIP_TARGET
when calculate dependancy delta.
#4775
Labels
PR: awaiting-review
The PR related to this issue is awaiting review by a maintainer.
Issue description
Sometimes I use pipenv with environment variable
PIP_TARGET
for install libraries to specified directory.But pipenv will skip install libraries if libraries already install to default location.
Expected result
pipenv should install libraries to specified directory when exec with environment variable
PIP_TARGET
.Actual result
pipenv will skip install libraries to specified directory when libraries already installed to default location(
.venv/lib/pythonx.x/site-packages
).Steps to replicate
Install library will skip and output
0/0 — 00:00:00
This command will return empty result.
$ pipenv --support
Pipenv version:
'2020.6.2'
Pipenv location:
'/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/lib/python3.8/site-packages/pipenv'
Python location:
'/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/bin/python3.8'
Python installations found:
3.9.2
:/usr/local/bin/python3
3.9.2
:/usr/local/bin/python3.9
3.8.3
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/bin/python3
3.8.3
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/bin/python3.8
3.8.3
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/bin/python3
3.7.8
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.7.8/bin/python3
3.7.3
:/usr/bin/python3
3.6.5
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.6.5/bin/python3
3.6.1
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.6.1/bin/python3
2.7.16
:/usr/bin/python2
2.7.16
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
LDFLAGS
TERM_PROGRAM
NODENV_SHELL
PYENV_ROOT
SHELL
TERM
TMPDIR
CPPFLAGS
PIPENV_VENV_IN_PROJECT
TERM_PROGRAM_VERSION
GOENV_ROOT
TERM_SESSION_ID
PYENV_VERSION
NODENV_ROOT
LC_ALL
USER
RBENV_ROOT
SSH_AUTH_SOCK
PYENV_DIR
__CF_USER_TEXT_ENCODING
PATH
LaunchInstanceID
PWD
LANG
ITERM_PROFILE
CLOUDSDK_PYTHON
PYENV_HOOK_PATH
XPC_FLAGS
RBENV_SHELL
XPC_SERVICE_NAME
HISTCONTROL
COLORFGBG
HOME
SHLVL
PYENV_SHELL
LC_TERMINAL_VERSION
ITERM_SESSION_ID
LOGNAME
GOENV_SHELL
LC_TERMINAL
SECURITYSESSIONID
COLORTERM
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_VENV_IN_PROJECT
:1
Debug–specific environment variables:
PATH
:/Users/cm-iwata/.anyenv/envs/pyenv/versions/3.8.3/bin:/Users/cm-iwata/.anyenv/envs/pyenv/libexec:/Users/cm-iwata/.anyenv/envs/pyenv/plugins/python-build/bin:/Users/cm-iwata/gcp/google-cloud-sdk/bin:/usr/local/bin:/usr/local/opt/mysql-client/bin:/Users/cm-iwata/.anyenv/envs/rbenv/shims:/Users/cm-iwata/.anyenv/envs/rbenv/bin:/Users/cm-iwata/.anyenv/envs/pyenv/shims:/Users/cm-iwata/.anyenv/envs/pyenv/bin:/Users/cm-iwata/.anyenv/envs/nodenv/shims:/Users/cm-iwata/.anyenv/envs/nodenv/bin:/Users/cm-iwata/.anyenv/envs/goenv/shims:/Users/cm-iwata/.anyenv/envs/goenv/bin:/Users/cm-iwata/.anyenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Applications/Visual Studio Code.app/Contents/Resources/app/bin
SHELL
:/bin/bash
LANG
:en_US.UTF-8
PWD
:/tmp/pipenvtest2
Contents of
Pipfile
('/private/tmp/pipenvtest2/Pipfile'):Contents of
Pipfile.lock
('/private/tmp/pipenvtest2/Pipfile.lock'):The text was updated successfully, but these errors were encountered: