Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Semver versioning is incompatible with pypi dist cleansing #335

Closed
@KitBurgess

Description

@KitBurgess

Situation

The Semver package doesn't correctly characterise versions, raising errors for valid semver tags.

To Reproduce

VersionInfo.parse("3.0.0.dev0")

  File "~/myrepo/venv/lib/python3.7/site-packages/semver.py", line 726, in parse
    raise ValueError("%s is not valid SemVer string" % version)
ValueError: 3.0.0.dev0 is not valid SemVer string

Expected Behavior

3.0.0.dev0 is a valid semver tag, no error should be thrown

Environment

Python3.7, semver 2.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocDocumentation related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions