From e77e048cefd50822d372224d34f070b065e99410 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 14 Oct 2024 18:17:42 -0400 Subject: [PATCH] Do not specify tagprefix since there is none in tags for hed-python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without it "version" does not include version at all! E.g. could be ❯ python -c 'from hed._version import get_versions; print(get_versions())' {'version': '0+untagged.2400.g10fe30e', ... after this fix ❯ python -c 'from hed._version import get_versions; print(get_versions())' {'version': '0.5.0+145.g10fe30e1.dirty', ... --- hed/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hed/_version.py b/hed/_version.py index 60348e9c..e402e5c9 100644 --- a/hed/_version.py +++ b/hed/_version.py @@ -51,7 +51,7 @@ def get_config() -> VersioneerConfig: cfg = VersioneerConfig() cfg.VCS = "git" cfg.style = "pep440" - cfg.tag_prefix = "hedtools-" + cfg.tag_prefix = "" cfg.parentdir_prefix = "hedtools-" cfg.versionfile_source = "hed/_version.py" cfg.verbose = False