Repository navigation
Commit beceb09
committed
build: only take versions from v[0-9]* tags
setuptools-scm's default describe picks the nearest tag containing a
digit, so a local non-release tag (a date-stamped backup, say) could
become the version and break builds with "Can't parse version from
tag". Restrict describe to release tags. The legacy 0.11.0 tag, with
no "v", is ignored from now on.
Prompt: For some of my python-libraries, the [local backup] tag can break local hatch-vcs builds, because hatch-vcs tries to read it as a version number. This has been fixed somewhere but not everywhere. Please check [and] fix it wherever it's relevant
Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>1 parent 34d4768 commit beceb09
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
0 commit comments