Implemented --break-system-packages for pip install

This commit is contained in:
Kevin Veen-Birkenbach
2025-03-21 18:09:19 +01:00
parent d790036c37
commit b68e5857e9

View File

@@ -108,7 +108,7 @@ def install_repos(selected_repos, repositories_base_dir, bin_dir, all_repos, no_
req_txt_file = os.path.join(repo_dir, "requirements.txt")
if os.path.exists(req_txt_file):
print(f"requirements.txt found in {repo_identifier}, installing Python dependencies...")
cmd = "python3 -m pip install -r requirements.txt"
cmd = "python3 -m pip install -r requirements.txt --break-system-packages"
run_command(cmd, cwd=repo_dir, preview=preview)
# Check if a Makefile exists and run make.