Skip to content

Commit d49c449

Browse files
keithJonathon Belotti
andauthored
Pass --isolated to pip wheel invocation (bazel-contrib#389)
This fixes the same issue as bazel-contrib#232 but in another place. Co-authored-by: Jonathon Belotti <jonathon@canva.com>
1 parent 5e92eac commit d49c449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/pip_install/extract_wheels/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def main() -> None:
7979
)
8080
args = parser.parse_args()
8181

82-
pip_args = [sys.executable, "-m", "pip", "wheel", "-r", args.requirements]
82+
pip_args = [sys.executable, "-m", "pip", "--isolated", "wheel", "-r", args.requirements]
8383
if args.extra_pip_args:
8484
pip_args += json.loads(args.extra_pip_args)["args"]
8585

0 commit comments

Comments
 (0)