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

Explore how we can leverage pip install's new --dry-run flag #5724

Open
3 tasks
jeffwidman opened this issue Sep 14, 2022 · 2 comments
Open
3 tasks

Explore how we can leverage pip install's new --dry-run flag #5724

jeffwidman opened this issue Sep 14, 2022 · 2 comments
Labels

Comments

@jeffwidman
Copy link
Member

jeffwidman commented Sep 14, 2022

pip just added a pip install --dry-run flag.

We should explore how we can leverage this, especially because:

  1. Python is the slowest native helper that we have
  2. We only care about the resolver output, not the installed artifacts.

Tasks

  • Research how the flag works... under the covers, does it skip any steps compared to a full install?
  • Research whether we can ingest the output in a machine-parsable format
  • Can we leverage this in how we call pip to save time?
@jeffwidman
Copy link
Member Author

Related, we may also be able to leverage the pip check command to validate the existing list of requirements... may or may not be useful, not quite sure yet.

See the 3rd example here: https://pip.pypa.io/en/stable/cli/pip_check/

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

No branches or pull requests

1 participant