PIP_INDEX_URL
does not work when pipenv install
directly against Pipfile
#4808
Labels
Type: Enhancement 💡
This is a feature or enhancement request.
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
When running
pipenv install -v
(with Pipfile exists in the same directory and no specific packages), seemsPIP_INDEX_URL
andPIP_EXTRA_INDEX_URL
will not take effects, butpipenv install -v [specific-package]
seems to work.P.S. Setting
PIPENV_PYPI_MIRROR
overrides the behavior but might not be a fix to this bug I think.Expected result
Actual result
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
The
Pipfile
Run in python docker container for example
Commands inside the container
$ pipenv --support
Pipenv version:
'2021.5.29'
Pipenv location:
'/usr/local/lib/python3.9/site-packages/pipenv'
Python location:
'/usr/local/bin/python'
Python installations found:
3.9.7
:/usr/local/bin/python3.9
3.9.7
:/usr/local/bin/python3
3.9.2
:/usr/bin/python3.9
3.9.2
:/usr/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_VERSION
PWD
PYTHON_SETUPTOOLS_VERSION
HOME
LANG
PIP_EXTRA_INDEX_URL
GPG_KEY
TERM
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
:/
Contents of
Pipfile
('/Pipfile'):Contents of
Pipfile.lock
('/Pipfile.lock'):The text was updated successfully, but these errors were encountered: