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

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

Closed
brainwane opened this issue Jun 22, 2019 · 2 comments

Comments

@brainwane
Copy link
Member

commented Jun 22, 2019

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 pypa/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.

@cjerdonek

This comment has been minimized.

Copy link
Member

commented Jun 22, 2019

I think it might be better to title this "Support yank ..." or "Add support for yanking ...." Currently, it reads like it's to stop supporting pip in some setting (at least that's how I read it, and didn't know it was about the "yank" feature until clicking through).

@brainwane brainwane changed the title Yank support for pip (PEP 592) Support/respect PEP 592 (yanking a file on a repository) Jun 22, 2019

@pradyunsg pradyunsg changed the title Support/respect PEP 592 (yanking a file on a repository) Add support for yanked files from a repository (PEP 592) Jun 22, 2019

@cjerdonek

This comment has been minimized.

Copy link
Member

commented Jun 25, 2019

I posted PR #6647 for this.

@lock lock bot added the S: auto-locked label Jul 27, 2019

@lock lock bot locked as resolved and limited conversation to collaborators Jul 27, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.