-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolvelib: Option to skip packages with empty PyPI links page.
A notable case of this is pkg_resources==0.0.0 which is installed by Debian's pip distribution. Currently resolvelib does not support skipping a dependency when presented with an empty candidates list for it. So, the only viable way to achieve the desired effect is to inject a fake candidate to make resolvelib happy, and add appropriate handling code for it on the pip-audit side. Exposed to cli via the --skip-empty flag.
- Loading branch information
Showing
4 changed files
with
195 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters