10000 Pass --isolated to pip wheel invocation (#389) · bazel-contrib/rules_python@d49c449 · GitHub
[go: up one dir, main page]

Skip to content

Commit d49c449

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0