HACKING: Force pip to install packages to system environment

See 550f9192ae4e5c4dd486ba08738ecee322929fce.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: pip option --break-system-packages works only from Bookworm]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2023-03-12 11:52:10 -04:00
parent a5283771e0
commit 2cd693e3e6
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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
```