This was reported a while ago... If you have a partial clone / a clone without tags / a repository that doesn't have tags, then the version file that's generated isn't compatible w/ the expectations of version.py:
version = '0.1.dev1+gedcff4f'
guess that is setuptools_scm not being able to determine the right version number.
possible reasons:
- you did not do a full git clone, but only fetched the latest state (thus it has not enough history information). a shallow clone will not work.
- you also need to check out the correct tag, e.g.
git checkout 1.2.0
- the run
pip install -e . and borg -V and it should tell 1.2.0.
Originally posted by @ThomasWaldmann in #6510 (comment)
Today, builds take >5 mins to fail in CI which is a lot of time for practically no benefit (you can't access the compiled content, you're just wasting GitHub resources and a build slot)
This was reported a while ago... If you have a partial clone / a clone without tags / a repository that doesn't have tags, then the version file that's generated isn't compatible w/ the expectations of
version.py:guess that is
setuptools_scmnot being able to determine the right version number.possible reasons:
git checkout 1.2.0pip install -e .andborg -Vand it should tell1.2.0.Originally posted by @ThomasWaldmann in #6510 (comment)
Today, builds take >5 mins to fail in CI which is a lot of time for practically no benefit (you can't access the compiled content, you're just wasting GitHub resources and a build slot)