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

Feature request: --dry-run or something similiar for uv pip install #1348

Closed
notatallshaw opened this issue Feb 15, 2024 · 4 comments
Closed

Comments

@notatallshaw
Copy link
Contributor

I would like to test uv's ability to correctly resolve requirements, and in general it it sometimes useful to know how a package installer will install some requirements without actually installing them. An alternative to this would be uv pip download which is something I used to use a lot before --dry-run existed in Pip.

At the moment I am rebuilding my virtual environment each time. Maybe I am missing something and there is a supported workflow already?

@charliermarsh
Copy link
Member

Have you tried uv pip compile?

@charliermarsh
Copy link
Member

It can also read from stdin, e.g. echo "black" | uv pip compile -.

@notatallshaw
Copy link
Contributor Author

Yes, this is sufficent for my purpose, thanks!

@zanieb
Copy link
Member

zanieb commented Feb 15, 2024

See also #1244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants