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

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

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

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

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

説明

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)

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

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

はじめの一歩

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

調査の方向性

macOS で poetry installpoetry sync を実行して動作を再現し、その後、パッケージのインストール中に Ctrl+C がどのように処理されるかを確認するため、インストールおよび同期コマンドのエントリポイントを追跡します。完了条件は、Ctrl+C によって現在のパッケージだけでなく、インストールまたは同期のプロセス全体がキャンセルされ、両方のコマンドがカバレッジされていることです。

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

評価

技術スタック
python
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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