Skip to content

Commit

Permalink
build: use --break-system-packages for pip on MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Tatianin <[email protected]>
  • Loading branch information
d-tatianin committed Aug 25, 2024
1 parent 4ffdb3f commit 59d83f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ def build_toolchain(args):

# Brew doesn't have a pytest package
if pm.get_package_manager().name == "brew":
subprocess.check_call(["python3", "-m", "pip", "install", "pytest"])
subprocess.check_call([
"python3", "-m", "pip", "install", "pytest",
"--break-system-packages"
])

tb.build_toolchain(tp)

Expand Down

0 comments on commit 59d83f5

Please sign in to comment.