Page MenuHomeSoftware Heritage

sphinx-dev job: Use git clone --single-branch instead of --depth 1
ClosedPublic

Authored by olasd on Wed, May 4, 2:33 PM.

Details

Summary

Using --depth makes git describe return nonsensical values, which in
turn makes setuptools-scm generate a v0.1.dev1 version number. This
makes pip unable to resolve version-constrained dependencies on swh
modules, which makes it install them from pip again.

Test Plan

it works in prod™

Diff Detail

Repository
rCJSWH Jenkins jobs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.