Skip to content

Add scenarios based on legacy versions and legacy specifiers #168

@notatallshaw

Description

@notatallshaw

I'm willing to write these scenarios myself, but I'm making an issue first in case of any objection, in particular because this is about following the spec, and I beleive uv deviates from the spec for this behavior to be more compatible with the ecosystem:

  1. With requirement A and A has a new version with a non-legacy version and an old version with a legacy version then A should successfully resolve to the new non-legacy version
  2. With requirement A and A has a new version with a legacy version and an old version with a non-legacy version then A should successfully resolve to old non-legacy version
  3. With requirement A and A only has legacy versions then A should not resolve
  4. With a requirement on A that involves a legacy version in the specifier then that requirement should not resolve
  5. Same as all of above but the where A depends on B and B suffers from the legacy versions/specifiers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions