install.python-poetry.org icon indicating copy to clipboard operation
install.python-poetry.org copied to clipboard

Network issues are hidden by the install script

Open 13steinj opened this issue 2 years ago • 0 comments

See https://github.com/python-poetry/install.python-poetry.org/blob/385616cd90816622a087450643fba971d3b46d8c/install-poetry.py#L356-L369

The above configuration means "stdout to pipe, stderr matches stdout". If you're having network issues, this installer either completely obscures or significantly delays the reporting of said errors. I never let it run it completion, but the network issues were significant enough that it was running for several hours (this was with default configuration, outside of being behind an org proxy + pip.conf pointing to an org mirror of pypi).

Personally, I think it's fine just to log to the console all stdout and stderrr from PIP as it happens. Might be good to log individual process stages of the environment's creation as well (so you can know if you have other issues with your system).

13steinj avatar Jul 15 '23 04:07 13steinj