Closed garrison closed 1 month ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 8913240803: | 0.0% |
Covered Lines: | 3498 |
Relevant Lines: | 3663 |
If we go this route, we'll have to think carefully about what version information should be shown by Sphinx on the stable doc build. Currently, it's going to pick up some of this added stuff in the version specifier, but this can be fixed by changing the following few lines:
My biggest problem with hatch-vcs is that it always seems to think the next release is a patchlevel one, and there seems to be no way to configure this (at least, no way that I've found so far). For instance, it thinks the next release on main
is going to be 0.7.2
, not 0.8.0
.
I'm going to close this for now, at least until I can figure out how to be satisfied with the automatic version strings.
This uses hatch-vcs to set the version automatically based on the most recent git tag, instead of having it specified and bumped manually in
pyproject.toml
. Two benefits I can think of0.7.1
tag will it be returned as0.7.1
precisely. Otherwise, it will be a dev version string including the hash of the commit in use (such as the following repl demonstration for the current commit in this PR). This will give us much better version information if we want to know precisely what (possibly development) version of ckt a user has installed.Downside: