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

Handle VersionConflict and DistributionNotFound exceptions #16

Closed
wants to merge 3 commits into from

Conversation

tresni
Copy link
Contributor

@tresni tresni commented May 1, 2018

These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do pip list --outdated | xargs pip install --upgrade or anything similar.)
To deal with this, we ignore version requirement if VersionConflict.

Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright.

Fixes #7, #9, #10.

These are due to packages being upgraded beyond what some depending package specifies (e.g. if you tend to do `pip list --outdated | xargs pip install --upgrade` or anything similar.)
To deal with this, we ignore version requirement if VersionConflict.

Not sure how we can end up in a DistributionNotFound scenario, but plenty of bug reports about it, so just ignoring those outright.

Fixes invl#7, invl#9, invl#10.
@casperdcl
Copy link

casperdcl commented May 3, 2018

👍 but as you said it doesn't fix (#11)

@tekumara
Copy link

tekumara commented Jun 8, 2020

Would love this feature, would make pip-autoremove super useful!

@tekumara
Copy link

tekumara commented Jun 8, 2020

Click is a dependency of lots of things, once I uninstall it once I can no longer uninstall its other dependents. This would solve that!

@darioackermann
Copy link

@tresni Your changes are missing import sys

@tresni
Copy link
Contributor Author

tresni commented Sep 12, 2021

I gave up on getting a PR accepted, checkout tresni:dev for a branch that actually works (or did last time I checked.) Also includes some other PRs from here as well. This PR is 3 years old.

@tresni
Copy link
Contributor Author

tresni commented Sep 17, 2021

Closed by #42

@tresni tresni closed this Sep 17, 2021
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

Successfully merging this pull request may close these issues.

conflict with python 3 version of python-dateutil
4 participants