You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When authenticating against an external pypi server using a requirements.txt pip no longer uses the credentials supplied in the ~/.pip/pip.conf.
Expected behavior
Pip should use the credentials from the ~/.pip/pip.conf file to pull the packages from the pypi server.
How to Reproduce
## This works.
pip install pip==20.2.4
pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://pkgs.dev.azure.com/XXX/global/_packaging/XXX/pypi/simple
Processing /home/vscode/.cache/pip/wheels/b6/e7/c9/0ee4aa11b8e4f2ca2af7b60be08647fb445b2dcfd4b5f3cee2/aioboto3-8.2.1-py2.py3-none-any.whl
Processing /home/vscode/.cache/pip/wheels/46/68/d3/17aa556cbd8f8a68e1792b30fe634f2b2dfedc0cb47897ce94/aiobotocore-1.2.1-py3-none-any.whl
Collecting aiohttp==3.7.4.post0
Using cached aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_x86_64.whl (1.3 MB)
Collecting aioitertools==0.7.1
Using cached aioitertools-0.7.1-py3-none-any.whl (20 kB)
.....
## This no longer works using pip >=20.3
pip install pip --upgrade
pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://pkgs.dev.azure.com/XXX/global/_packaging/XXX/pypi/simple
User for pkgs.dev.azure.com: << ## Just hangs here Waiting for user input.
pip version
20.3 -> latest
Python version
3.7.0
OS
Ubuntu
Additional information
No response
Description
When authenticating against an external pypi server using a requirements.txt pip no longer uses the credentials supplied in the ~/.pip/pip.conf.
Expected behavior
Pip should use the credentials from the ~/.pip/pip.conf file to pull the packages from the pypi server.
How to Reproduce
Output
requirements.txt
Code of Conduct
The text was updated successfully, but these errors were encountered: