Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Network issues are hidden by the install script

未关闭
#122 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
52/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
python
领域
tooling

调研方向

从 install-poetry.py 的第 356-369 行开始,检查安装程序如何捕获并报告 pip 的 stdout 和 stderr。使用缓慢或失败的网络配置复现该行为,然后确保 pip 输出能够在产生时显示,并且进程阶段能够提供有用的进度信息。

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Python
星标
255
派生
65
平均合并
2 小时 48 分钟
30 天内合并 PR
1

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

python-poetry/install.python-poetry.org 的其他 Issue

查看 python-poetry/install.python-poetry.org 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。