During install or sync ctrl+c only cancels single package installation

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
cli

调研方向

在 macOS 上运行 poetry installpoetry sync 以复现该行为,然后跟踪安装和同步命令的入口点,查找在软件包安装期间如何处理 Ctrl+C。完成的标准是,Ctrl+C 会取消整个安装或同步过程,而不仅仅是取消当前软件包,并且两个命令都具有覆盖。

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

描述

While running poetry install or poetry sync on macOS, ctrl + c will only cancel the installation of the current package being installed. This can be an issue for projects with a longer list of packages if you want to cancel the entire installation.

Won't assume but I would personally prefer to cancel the entire installation process vs stopping (skipping?) a single installation by inputting ctrl + c at the right time. Instead expecting skipping of a single(s) installation using the grouping and the --only or --with functionality.

Noting that this issue existed in poetry's old repo but was listed for windows, so this might not be platform specific.

platform: macOS sequoia 15.7.4
poetry ver: 2.3.3
python ver: have experienced this against 3.10.13 and 3.12.13)

主要语言
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 摘要。