python-poetry / python-poetry/install.python-poetry.org
Network issues are hidden by the install script
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 255
- Forks
- 65
- Avg merge
- 2h 48m
- Merged PRs (30d)
- 1
Description
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).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in install-poetry.py at lines 356-369 and inspect how the installer captures and reports pip stdout and stderr. Reproduce the behavior with a slow or failing network configuration, then make sure pip output is visible as it occurs and process stages provide useful progress information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100