HomeSoftware Heritage

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

Description

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

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.

Details

Provenance
olasdAuthored on May 4 2022, 2:31 PM
olasdPushed on May 4 2022, 2:38 PM
Differential Revision
D7737: sphinx-dev job: Use git clone --single-branch instead of --depth 1
Parents
rCJSWH9ec6c14548c1: docs: add set -ex in bash scripts to abort on failure...
Branches
Unknown
Tags
Unknown