pipdeptree icon indicating copy to clipboard operation
pipdeptree copied to clipboard

Fail on conflicting dependencies but not circular dependencies

Open jaraco opened this issue 5 years ago • 0 comments

I'd like to use pipdeptree to detect conflicting dependencies - those that will cause problems with pkg_resources when imported or are otherwise not meeting their declared requirements. For that, this tool provides --warn fail. However, this option also causes the tool to fail on circular dependencies, which happens as a matter of course for a project that requires jaraco.text or jaraco.collections (as they depend on each other).

Probably pipdeptree should take --on-circular and --on-conflicting parameters, each accepting pass, fail, or warn.

jaraco avatar Dec 10 '18 14:12 jaraco