From 2cd693e3e6702c4a6ea7a8e3da732203c12ffdbe Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 12 Mar 2023 11:52:10 -0400 Subject: [PATCH] HACKING: Force pip to install packages to system environment See 550f9192ae4e5c4dd486ba08738ecee322929fce. Signed-off-by: James Valleroy [sunil: pip option --break-system-packages works only from Bookworm] Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- HACKING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HACKING.md b/HACKING.md index 3a749a6f3..650dc7c30 100644 --- a/HACKING.md +++ b/HACKING.md @@ -450,12 +450,12 @@ host$ vagrant provision --provision-with tests Follow the instructions below to run the tests on host machine. If you wish perform the tests on host machine, the host machine must be based on Debian -Buster (or later). +Bookworm (or later). ```bash -host$ pip3 install splinter -host$ pip3 install pytest-splinter -host$ pip3 install pytest-xdist # optional, to run tests in parallel +host$ pip3 install --break-system-packages splinter +host$ pip3 install --break-system-packages pytest-splinter +host$ pip3 install --break-system-packages pytest-xdist # optional, to run tests in parallel host$ sudo apt install firefox host$ sudo apt install smbclient # optional, to test samba ```