From 03c0a39ecf447b0be8a9d2b779f37b1765243ef8 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Tue, 8 Dec 2020 10:49:17 -0800 Subject: [PATCH] Pass --isolated to pip wheel invocation This fixes the same issue as https://github.com/bazelbuild/rules_python/pull/232 but in another place. --- python/pip_install/extract_wheels/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pip_install/extract_wheels/__init__.py b/python/pip_install/extract_wheels/__init__.py index 879b6766b7..fe8b8ef7ea 100644 --- a/python/pip_install/extract_wheels/__init__.py +++ b/python/pip_install/extract_wheels/__init__.py @@ -79,7 +79,7 @@ def main() -> None: ) args = parser.parse_args() - pip_args = [sys.executable, "-m", "pip", "wheel", "-r", args.requirements] + pip_args = [sys.executable, "-m", "pip", "--isolated", "wheel", "-r", args.requirements] if args.extra_pip_args: pip_args += json.loads(args.extra_pip_args)["args"]