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

Add --dry-run option to pip install #11096

Merged
merged 5 commits into from
Jun 26, 2022
Merged

Commits on Jun 23, 2022

  1. Add wheel support to InstallRequirement.get_dist()

    Before it did support only requirements that had their
    metadata prepared to a local directory.
    WIth wheels that does not happen so we need to
    handle that case too.
    
    get_dist() is used by the metadata property of InstallRequirement,
    which in turn is useful to obtain metadata
    of the RequirementSet returned by the resolver.
    sbidoul committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    e15e519 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3726f71 View commit details
    Browse the repository at this point in the history
  3. Use metadata['name'] to get requirement name

    Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
    sbidoul and uranusjr committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    d378007 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8a54ab View commit details
    Browse the repository at this point in the history
  5. Add requirements_to_install to RequirementSet

    This property is necessary because the
    legacy resolver returns requirements that
    need not be installed.
    sbidoul committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    701a5d6 View commit details
    Browse the repository at this point in the history