Skip to content

Parsing DynamicVersion with suffix #25

@LecrisUT

Description

@LecrisUT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions