8000 Remove stale comment and redundant imports · raaaar/rules_python@138a7d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 138a7d8

Browse files
author
Doug Greiman
committed
Remove stale comment and redundant imports
1 parent c597bfc commit 138a7d8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

rules_python/piptool.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,10 @@ def extract_packages(package_names):
6666
import setuptools
6767
import wheel
6868

69-
# Make sure we're using a suitable version of pip as a library.
70-
# Fallback on using it as a CLI.
71-
from pip._vendor import requests
7269

73-
from pip import main as _pip_main
7470
def pip_main(argv):
7571
argv = ["--disable-pip-version-check"] + argv
76-
return _pip_main(argv)
72+
return pip.main(argv)
7773

7874

7975
# TODO(mattmoor): We can't easily depend on other libraries when

0 commit comments

Comments
 (0)
0