-
Notifications
You must be signed in to change notification settings - Fork 43
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
missing dependencies #11
Comments
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, invl#11.
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, invl#11.
Whoops, got the wrong issue, I don't think I dealt with this one, sorry |
I don't think this behavior is actually wrong though. pip-autoremove relies on the package information from setuptools (ie the setup.py file.) scikit-image's package says its requirements are:
The additional packages installed via the |
the command I gave should properly list such "leaf" nodes though |
Okay, I went poking again, and I think I've found the underlying issue, but not sure there is anything pip-autoremove can do about it. Looks like there are 2 different ways to mark something "Required" in the METADATA,
toolz is not caught under dask because pip-autoremove isn't parsing/processing the extra information ( |
perhaps you could compare this behavior with the output of pipdeptree. I use the two in conjunction in order to clean up requirements. |
First off, I'd like to say this is a great tool which makes
pip
almost as powerful asconda
.However, running
pip-autoremove -L
can incorrectly list packages which are sub-dependencies:The text was updated successfully, but these errors were encountered: