Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove package version from Pypi

Tags:

python

pip

pypi

How to remove a specific version of a package from Pypi? Now it's impossible to do that from the web interface and twine doesn't have such an option.

like image 298
Vasiu Alexandru Avatar asked Oct 30 '18 18:10

Vasiu Alexandru


People also ask

Does pip uninstall remove dependencies?

For example, on my system this script eventually failed because the target package had dependencies in common with pip, so pip uninstalled its own dependencies before the script could finish, and then failed. Beware this removes only the next level down dependencies, but not the dependencies of those dependencies.


1 Answers

It is possible to delete a package version from the PyPI web interface as follows:

  • Log in to PyPI
  • Go to https://pypi.org/manage/projects/ (reachable from the main page via the "Your projects" item in the "Welcome back, NAME" dropdown)
  • Click on the "Manage" button next to the relevant project
  • In the "Options" dropdown next to the version you want to delete, select "Delete"
like image 95
jwodder Avatar answered Sep 22 '22 12:09

jwodder