CodeQL: Use venv

A bug in pip or possibly setuptools broke editable
installs into the per-user directory
for packages that have pyproject.toml

See https://github.com/pypa/setuptools/issues/3019
This commit is contained in:
Andrey Bienkowski 2022-03-01 08:44:40 +03:00
parent a929b2db0a
commit aba16ba0d4
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y pkg-config build-essential
sudo apt-get install -y libssl-dev libacl1-dev libxxhash-dev liblz4-dev libzstd-dev
python3 -m venv ../borg-env
source ../borg-env/bin/activate
pip3 install -r requirements.d/development.txt
pip3 install -e .