Skip to content

Conversation

@radoering
Copy link
Member

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

Just a special case, I noticed while trying different commands with a pyproject.toml without a tool.poetry section.

When trying to remove a package from a project without any dependencies, the following message is displayed for poetry remove foo:

without PR: The dependency group "main" does not exist.

with PR: The following packages were not found: foo

@radoering radoering force-pushed the improve-poetry-remove-error-message branch from 0c757ac to ee3c26c Compare December 23, 2024 19:54
@radoering radoering enabled auto-merge (squash) December 23, 2024 19:55
@radoering radoering merged commit a7079ac into python-poetry:main Dec 23, 2024
73 checks passed
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2025
@radoering radoering deleted the improve-poetry-remove-error-message branch December 13, 2025 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants