uv pip show missing --files option #8357
Labels
cli
Related to the command line interface
compatibility
Compatibility with a specification or another tool
help wanted
Contribution especially encouraged
uv pip
Related to the uv pip interface
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-showI'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 (likesix
), and some other aren't installed under their dependency name (PyJWT
->jwt
,python-dateutil
->dateutil
). So it's not very nice haha!Thanks!
The text was updated successfully, but these errors were encountered: