Page MenuHomeSoftware Heritage

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

Authored by olasd on May 4 2022, 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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 29062
Build 45432: arc lint + arc unit