python-poetry / python-poetry/poetry

poetry update --lock should list the packages updated in the lockfile

Open
#2,844 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature status/triage
Dominant language
Python
Stars
34.3k
Forks
2.5k
Avg merge
2d 19h
Merged PRs (30d)
30

Description

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

The poetry update --lock command is great if you don't want to actually update packages locally. When you run poetry update you get a list of all the packages that were updated and from which version to which version they were updated. With the --lock option you do not have visibility over what packages were updated in the lockfile.

I think it would be reasonable to see the same output as when packages are updated in the virtual environment. This would allow for an easy inspection of the changes vs having to look at the diff of the poetry.lock file.

Contributor guide

Open the contributing guide

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

Trace the implementation of poetry update --lock and compare its output with the regular poetry update command. Identify the existing package update reporting path; done means the lock-only command lists each updated package with its previous and new version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.