Commit b874cdf
committed
ci: fetch full git history so setuptools-scm can see tags
actions/checkout@v4 defaults to a shallow, tag-less clone. With no
tags reachable, setuptools-scm falls back to its default base version
(0.1.devN+g<hash>), which fails test_get_superflore_version's sanity
check that the version isn't lower than expected. Reproduced locally:
a --depth 1 clone reads back '0.1.dev1+g<hash>' and fails the test; a
full clone correctly resolves to '0.3.4.devNN+g<hash>' and passes.
Assisted-by: Claude:claude-opus-5
AI-Generated: Uses Claude (claude-opus-5)
Signed-off-by: Rob Woolley <rob.woolley@windriver.com>1 parent 2c50df2 commit b874cdf
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments