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

redirects for Databased Backed Blacklists #7840

Closed
graingert opened this issue Apr 23, 2020 · 2 comments
Closed

redirects for Databased Backed Blacklists #7840

graingert opened this issue Apr 23, 2020 · 2 comments

Comments

@graingert
Copy link
Contributor

graingert commented Apr 23, 2020

What's the problem this feature will solve?
currently you run pip install requirements.txt or pip install pip-sync and pip fails with no useful advice

Describe the solution you'd like
pypi should provide advice for each blacklisted package eg
requirements.txt -> "you should use -r requirements.txt"
pip-sync -> "you should install pip-compile"
bad-package-with-virus -> "this package was removed because it was malicious"

Where redirecting to a package the HTTP interface should also redirect to the new package

Additional context
graingert/pip-compile#1

@graingert
Copy link
Contributor Author

somewhat like https://docs.npmjs.com/cli/deprecate

@di
Copy link
Member

di commented May 1, 2020

I think this makes more sense as a feature request for pip, similar to pypa/pip#5777, which would also be blocked on implementing #4703.

@di di closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants