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

metadata-only resolve with pip download --dry-run --report! #10748

Closed

Commits on May 10, 2022

  1. implement --dry-run

    cosmicexplorer committed May 10, 2022
    Configuration menu
    Copy the full SHA
    39ccd3f View commit details
    Browse the repository at this point in the history
  2. implement --report

    - create LinkWithSource to retain attrs from InstallRequirement
    - add tests for report output for top-level requirements
    - add tests for more of the report JSON format
    - add passing tests for JSON report output including PEP 658!
    - add docstrings to several classes and functions, including tests!
    - move the --report implementation into resolvelib
    - use an abstract base class instead of a Union for InfoType
    - use frozen dataclasses for InfoType subclasses
    cosmicexplorer committed May 10, 2022
    Configuration menu
    Copy the full SHA
    711972f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76520a5 View commit details
    Browse the repository at this point in the history
  4. add LinkHash.{from_archive_info(),__post_init__()}

    these two objects are intended to be fungible, but play different roles, since LinkHash actually
    parses its input and ArchiveInfo does not. ArchiveInfo's JSON (de)?serialization does not employ
    hash name or value validation, while LinkHash does not offer a JSON serialization.
    cosmicexplorer committed May 10, 2022
    Configuration menu
    Copy the full SHA
    c068eb5 View commit details
    Browse the repository at this point in the history