pip is not supported as a module API. In fact, the developers are
actively trying to discourage everyone from using it this way. In pip
v10, the entire pip.req was moved to pip._internal.req, thus breaking
all scripts which imported it.
This commit removes the need for pip.req.parse_requirements by using
pure Python instead.
pip is not supported as a module API. In fact, the developers are actively trying to discourage everyone from using it this way. In pip v10, the entire pip.req was moved to pip._internal.req, thus breaking all scripts which imported it. This commit removes the need for pip.req.parse_requirements by using pure Python instead.
Reference: https://github.com/pypa/pip/issues/2286 Reference: https://github.com/pypa/pip/commit/95bcf8c5f6394298035a7332c441868f3b0169f4 Signed-off-by: Cristian Prundeanu cristian.prundeanu@arm.com