How do I remove a package from Pypi?
I uploaded a package to Pypi several months ago. The package is now obsolete and I'd like to formally remove it. I cannot find any documentation on how to remove my package.
This is not a really good idea, because all users of the previous package will see their install fails.
If you want to deprecate a package, what you can do is publish a last release with a README pointing to the new package. I did that for python-cli-ui, which is replaced by cli-ui
If you want to get fancy you can also:
setup.py
is rundelete
on options dropdownDelete Release
to delete the release.Login in to pypi, select the required package from Your packages
select Remove?
check box on the individual package version that you want to delete, and click remove.
Scroll down until you see the red box saying Do NOT use this button and click Remove this project completely and on the next page, confirm your action. Don't forget that, there is no undo option.