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

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

Open
#169 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
255
Forks
65
Avg merge
2h 48m
Merged PRs (30d)
1

Description

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)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior by running poetry install and poetry sync on macOS, then trace the install and sync command entry points to find how Ctrl+C is handled during package installation. Done means Ctrl+C cancels the entire installation or synchronization process rather than only the current package, with coverage for both commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.