EOFError when prompting for index username and password #11390
Labels
resolution: duplicate
Duplicate of an existing issue/PR
type: bug
A confirmed bug or unintended behavior
Description
When installing from a private, password-protected (authenticating with HTTP BasicAuth) package index server, the subprocess to install build dependencies fails with an
EOFError
.Everything works fine when keyring is installed (as I have the private index's password in my keyring).
When using Pip 22.0.4, it seems a ZipApp was used, as the traceback showed the used pip was located in
/tmp/pip-standalone-pip-qari24rb/__env_pip__.zip/
. The final two lines of the output (entering username and password) didn't occur.Possibly related:
Expected behavior
pip install all packages successfully
pip version
22.2.2 (also tested with 22.0.2)
Python version
Python 3.10.4 (distro-managed)
OS
Ubuntu 22.04.1
How to Reproduce
venv
Output
click to expand
Note: final two lines are after pip had already failed
Code of Conduct
The text was updated successfully, but these errors were encountered: