Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv pip show missing --files option #8357

Closed
CharlesPerrotMinotHCHB opened this issue Oct 19, 2024 · 0 comments · Fixed by #8369
Closed

uv pip show missing --files option #8357

CharlesPerrotMinotHCHB opened this issue Oct 19, 2024 · 0 comments · Fixed by #8369
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

Comments

@CharlesPerrotMinotHCHB
Copy link

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!

@zanieb zanieb added compatibility Compatibility with a specification or another tool cli Related to the command line interface uv pip Related to the uv pip interface help wanted Contribution especially encouraged labels Oct 19, 2024
MtkN1 pushed a commit to MtkN1/uv that referenced this issue Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants