Skip to content

Commit

Permalink
Pass --isolated to pip wheel invocation
Browse files Browse the repository at this point in the history
This fixes the same issue as
bazelbuild#232 but in another
place.
  • Loading branch information
keith committed Dec 8, 2020
1 parent aa27a3f commit 03c0a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pip_install/extract_wheels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 03c0a39

Please sign in to comment.