Closed NeolithEra closed 5 years ago
Fix your direct dependencies to be httplib2>=0.9.2,<1dev and google-api-python-client==1.7.10, to remove this conflict. I have checked this revision will not affect your downstream projects now.
Remove your direct dependency httplib2, and use httplib2 transitively introduced by google-api-python-client.
Personally, I prefer solution 2.
Build a good dependency ecosystem for python projects is our common goal ^_^.
@mricon May I pull a request to solve this issue?
Hi, ingress-fieldplan directly and transitively introduced multiple versions of httplib2.
As shown in the following full dependency graph of ingress-fieldplan, ingress-fieldplan requires httplib2 (the latest version), while the installed version of google-api-python-client( 1.7.10) requires httplib2>=0.9.2, <1dev.
According to Pip's “first found wins” installation strategy, httplib2 0.13.1 is the actually installed version.
Although the first found package version httplib2 0.13.1 just satisfies the later dependency constraint (httplib2>=0.9.2,<1dev), it will lead to a build failure once developers release a newer version of httplib2.
Dependency tree--------
Thanks for your attention. Best, Neolith