Skip to content

uv pip show missing --files option #8357

@CharlesPerrotMinot

Description

@CharlesPerrotMinot

Hi!

In order to package lambdas, we currently use pip show -f [dependency].
https://pip.pypa.io/en/stable/cli/pip_show/

Unfortunately, as far as I can tell, this option, which shows the full list of installed files for the given package, isn't supported with uv pip show: https://docs.astral.sh/uv/reference/cli/#uv-pip-show

I'm happy if you have a good workaround!
Otherwise, it would be great for this option to be supported.

We basically zip all those files for each dependencies, and push that zip to use in lambda.
I have written a small code that extracts the location from uv pip show, and filters the output of a find command, though some packages come as a file instead of a dict (like six), and some other aren't installed under their dependency name (PyJWT -> jwt, python-dateutil -> dateutil). So it's not very nice haha!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command line interfacecompatibilityCompatibility with a specification or another toolhelp wantedContribution especially encourageduv pipRelated to the uv pip interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions