Page MenuHomeSoftware Heritage

Make the swh-environment jenkins job green and activate notifications
Closed, MigratedEdits Locked

Description

It looks like the effects of caused by https://github.com/pypa/pip/issues/10573 have actually been caught by https://jenkins.softwareheritage.org/job/DENV/job/tests/1654/ but nobody noticed because:

Since we do recommend newcomers to use (more or less) what is done in this job as development environment, this job should be stabilized and properly monitored.

Event Timeline

douardda created this task.

I quickly hacked on Jenkins job to remove the pip upgrade but the default pip version on the docker image is too outdated
and some swh dependencies will fail to install, see console output.

So I guess we will have to pin pip to < 21.3 to fix the issue.

I pushed D6484 to fix the build issue. Instead of pinning pip version, I used the --no-use-pep517 pip option as suggested in the pip github issue.

Argh ...

09:13:54 Collecting tree-sitter
09:13:54   Using cached tree_sitter-0.19.0.tar.gz (112 kB)
09:13:54 ERROR: Disabling PEP 517 processing is invalid: project specifies a build backend of setuptools.build_meta in pyproject.toml

Looks like pinning pip is the only solution here at the end.