diff --git a/jobs/swh-environment.yaml b/jobs/swh-environment.yaml --- a/jobs/swh-environment.yaml +++ b/jobs/swh-environment.yaml @@ -32,18 +32,11 @@ # setup a virtualenv python3 -m venv .venv . .venv/bin/activate - # upgrade pip or some swh modules might end up being installed - # in non editable mode + # upgrade pip as default installed version is too outdated to properly + # install all swh dependencies pip install --upgrade pip - # install dependencies - pip install wheel pytest - # temporary workaround to avoid new pip resolver to enter in a really - # long package backtracking process leading to build job timeout - # (https://github.com/pypa/pip/issues/9187) - # pip install $(bin/pip-swh-packages --with-testing) - while IFS= read -r package; do - pip install $package - done <<< $(./bin/pip-swh-packages --with-testing) + # install dependencies and workaround https://github.com/pypa/pip/issues/10573 + ./bin/install --no-use-pep517 cd swh-graph make java >/dev/null cd ..