Skip to content

Add support for PEP-592 (yanked releases) #2453

@sdispater

Description

@sdispater
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

PyPI and pip recently added support for "yanked" releases (PEP-592).

We should add support for it in Poetry as well.

This should be handled in two places:

  • In the PyPiRepository class: the PyPI JSON API provides a yanked property at the release level that we can use to flag a file as yanked.
  • In the LegacyRepository class: this one should follow the PEP to retrieve the "yanked" information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pepsRelated to PEP support/compliancekind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions