Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calver detection fails on -v prefixes when using non-normalized versions #884

Closed
RonnyPfannschmidt opened this issue Aug 11, 2023 · 1 comment
Milestone

Comments

@RonnyPfannschmidt
Copy link
Contributor

RonnyPfannschmidt commented Aug 11, 2023

.../setuptools_scm/version.py:396: UserWarning: <ScmVersion v23.08.08.0 dist=2 node=... dirty=True branch=use-node-date-version-for-calver> does not correspond to a valid versioning date, assuming legacy version

happens when trying to use non-normalized versions for calver

@RonnyPfannschmidt
Copy link
Contributor Author

a workaund is tag_regex = "^(?:[\\w-]+-)?[vV]?(?P<version>\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant