For example if the latest tag is v2.1.0-rc1, this is allowed by git describe --match=?[0-9.]*. But there is an inconsistency between parsing from git_archival.txt and setuptools-scm
git_archival.txt: describe-name = v2.1.0-rc1-257-gcbc8618a5
PKG-INFO: Version: 2.1.0rc2.dev257+gcbc8618
Issues are that the - in the rc is removed and the regex needs to account for the version syntax having - suffix in its name.
For example if the latest tag is
v2.1.0-rc1, this is allowed bygit describe --match=?[0-9.]*. But there is an inconsistency between parsing fromgit_archival.txtandsetuptools-scmgit_archival.txt:describe-name = v2.1.0-rc1-257-gcbc8618a5PKG-INFO:Version: 2.1.0rc2.dev257+gcbc8618Issues are that the
-in thercis removed and the regex needs to account for the version syntax having-suffix in its name.