Skip to content

Add support for yanked files from a repository (PEP 592) #6633

@brainwane

Description

@brainwane

What's the problem this feature will solve?
To quote PEP 592:

This PEP proposes adding the ability to mark a particular file download on a simple repository as "yanked". Yanking a file allows authors to effectively delete a file, without breaking things for people who have pinned to exactly a specific version.

Describe the solution you'd like
Have pip respect yanking in the PyPI/Warehouse API.

Additional context

Support for PEP 592 -- Adding "Yank" Support to the Simple API will affect which packages get chosen. This will therefore affect the pip resolver, but does not have to wait for the new resolver rewrite (#988 @pradyunsg).

@dstufft is currently working on the PyPI side in pypi/warehouse#5838 . There's an opportunity for someone to help by working on pip support; not sure whether Donald's working on it and/or whether this feature is blocked on the Warehouse API getting into better shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: dependency resolutionAbout choosing which dependencies to installC: downloadAbout fetching data from PyPI and other sourcesPEP implementationInvolves some PEPauto-lockedOutdated issues that have been locked by automationhelp wantedFor requesting inputs from other members of the communitytype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions