Skip to content

Add an option to filter out transitive dependencies while checking for updates to available packages #4342

@feierabend654

Description

@feierabend654
  • 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

Whenever I want to see which packages can be updated, I do poetry show -o . But this command list also updates to transitive dependencies. As I only want to update packages which are directly referenced by me in pyproject.toml i.e. maybe we can offer filtering out the transitive dependencies i.e dependencies of dependencies

Below is an example of a dependency which is brought in by fastapi transitively, but I am already on the latest version of fastapi

$ poetry show -o 
starlette 0.14.2 0.16.0 The little ASGI library that shines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions