-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
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!