The blessed package to manage your versions by scm tags
conda install main::setuptools-scm
setuptools_scm extracts Python package versions from git or hg metadata instead of declaring them as the version argument or in a SCM managed file.