pip v18 which was released Sunday, July 22, broke the hub-detect's pip-inspector.py and will cause hub-detect to fail - when run on python projects that use pip v18.
Changes proposed in this pull request:
This pull request proposes a (more future proof) fix for pip-inspector.py that works with pip 10, pip 18, and, assuming the pip team sticks with numerically ascending major version numbers going forward, should work for future versions as well. Assuming that the API endpoints we use in pip do not change also.
Coverage remained the same at 23.013% when pulling 10e96ea25a8d07e6c7966cf063306e121411383d on IDETECT-832-pip-18-breaks-inspector into fda56dde1a6298a34fccf0e2779f11d89836a3e6 on master.
Pull Request template
Why this pull request:
Changes proposed in this pull request: