Skip to content

Commit 18880b4

Browse files
[bazel] fix python package error on debian systems
This is a port of lowRISC/opentitan#21955 to this repo. Signed-off-by: Tim Trippel <ttrippel@google.com>
1 parent 5d6bf81 commit 18880b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules/pip.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def _pip_wheel_impl(rctx):
3737
"-m",
3838
"pip",
3939
"install",
40+
"--user",
4041
"wheel",
4142
]
4243
rctx.report_progress("Installing the Python wheel package")
@@ -54,6 +55,7 @@ def _pip_wheel_impl(rctx):
5455
"-m",
5556
"pip",
5657
"wheel",
58+
"--use-pep517",
5759
"-r",
5860
rctx.path(rctx.attr.requirements),
5961
"-w",

0 commit comments

Comments
 (0)