python-poetry / python-poetry/install.python-poetry.org

Network issues are hidden by the install script

オープン
#122 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
255
フォーク
65
平均マージ
2時間 48分
マージ済み PR(30日)
1

説明

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).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

install-poetry.py の 356-369 行目から始め、インストーラーが pip の stdout と stderr をどのように取得して報告しているかを調べます。低速または失敗するネットワーク構成でその動作を再現し、そのうえで、pip の出力が生成されると同時に表示され、プロセスの各段階が有用な進捗情報を提供することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。