elastic / elasticsearch-py

Official Python client for Elasticsearch
https://ela.st/es-python
Apache License 2.0
4.22k stars 1.18k forks source link

unfully unistall elasticsearch-py #2593

Closed ArtemIsmagilov closed 3 months ago

ArtemIsmagilov commented 3 months ago

Package not fully removed. It would be more convenient to delete your package for , delete and dependencies. I think this behavior is more expected. I don't know if this is a mistake.

pip install elasticsearch[async]
Installing collected packages: elastic-transport, elasticsearch
Successfully installed elastic-transport-8.13.1 elasticsearch-8.14.0
pip uninstall elasticsearch
Successfully uninstalled elasticsearch-8.14.0
pip freeze
elastic-transport==8.13.1
miguelgrinberg commented 3 months ago

This is how pip works. This cannot be addressed by individual packages, so I'm going to close this issue as it is something that Python packaging must address and not this project in particular. See this question on stack overflow for some solutions people use to remove dependent packages, though none of them are likely to be perfect.

ArtemIsmagilov commented 3 months ago

Thank you for answering