System environment variable not working #3278
Labels
good first issue
Issues suitable as a newcomer to get familiar with Pipenv!
help wanted
Type: Bug 🐛
This issue is a bug.
Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Pipenv.
Check the diagnose documentation for common issues before posting! We may close your issue if it is very similar to one of them. Please be considerate, or be on your way.
Make sure to mention your debugging experience if the documented solution failed.
Issue description
The
auto_envvar_prefix
change from #3217 doesn't seem to be working. I have tried all of the following environment variables, and I remain unable to triggerpipenv install --system
.I am using version 2018.11.14.
Expected result
PIPENV_INSTALL_SYSTEM=true pipenv install --dev
should install using the system Python, and no virtualenv should be created.Actual result
A virtualenv is created.
Steps to replicate
Run
PIPENV_INSTALL_SYSTEM=true pipenv install --dev
on a project using pipenv version 2018.11.14.Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
$ pipenv --support
Pipenv version:
'2018.11.14'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.6.7
:/usr/local/bin/python
3.6.7
:/usr/local/bin/python3.6m
3.6.7
:/usr/bin/python3.6m
3.6.7
:/usr/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_PIP_VERSION
SHLVL
HOME
GPG_KEY
PIPENV_RUN_SYSTEM
PIPENV_DONT_USE_PYENV
PIPENV_RUN_INSTALL_SYSTEM
PATH
DJANGO_SETTINGS_MODULE
LANG
PIPENV_SYSTEM
PYTHON_VERSION
PIPENV_INSTALL_SYSTEM
PWD
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
PIPENV_RUN_SYSTEM
:1
PIPENV_DONT_USE_PYENV
:1
PIPENV_RUN_INSTALL_SYSTEM
:1
PIPENV_SYSTEM
:1
PIPENV_INSTALL_SYSTEM
:1
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
:/app/todo_project_name
Contents of
Pipfile
('/app/todo_project_name/Pipfile'):Contents of
Pipfile.lock
('/app/todo_project_name/Pipfile.lock'):The text was updated successfully, but these errors were encountered: