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

locker: move export logic into locker for reuse #3119

Merged
merged 8 commits into from
Oct 14, 2020

Commits on Oct 13, 2020

  1. locker: move export logic into locker for reuse

    This change, moves common functionality from exporter into the locker
    to allow for sharing of logic that can generate `DependencyPackage`
    instances given a a list of requirements using the lock data.
    abn committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    8b67d16 View commit details
    Browse the repository at this point in the history
  2. locker: reuse locked metadata for nested deps

    zyv authored and abn committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    9854506 View commit details
    Browse the repository at this point in the history
  3. locker: propagate cumulative markers to nested deps

    This change ensures that markers are propagated from top level
    dependencies to the deepest level by walking top to bottom instead of
    iterating over all available packages.
    
    In addition, we also compress any dependencies with the same name and
    constraint to provide a more concise representation.
    
    Resolves: python-poetry#3112 #3160
    abn committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    48caa17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8bc93d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    665afb8 View commit details
    Browse the repository at this point in the history
  6. locker: ensure correct handling of extras export

    Previously, when determining nested dependencies, the check for
    activated extras/features of top level dependencies were done after the
    nested dependencies were processed. This lead to exports containing
    in active extras. This change resolves this by pre-selecting top level
    packages prior to identifying nested dependencies.
    abn committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    410df99 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6edf15f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36d74ae View commit details
    Browse the repository at this point in the history