Import from inner packages
mypy doesn't seem to recognize the imports from pip._internal.req for some reason. This is a quick hacky patch for that. If someone is reading this, you probably want to look into why that's happening.
Also, Hi to you, a person from the future!
@@ -20,7 +20,8 @@ from pip._internal.exceptions import (
)
from pip._internal.index import PackageFinder
from pip._internal.locations import running_under_virtualenv
-from pip._internal.req import InstallRequirement, parse_requirements
+from pip._internal.req.req_install import InstallRequirement
+from pip._internal.req.req_file import parse_requirements
from pip._internal.status_codes import (
ERROR, PREVIOUS_BUILD_DIR_ERROR, SUCCESS, UNKNOWN_ERROR,
VIRTUALENV_NOT_FOUND
