Skip to content

(not semver) Support for less than major.minor.patchΒ #70

@prikkeldraad

Description

@prikkeldraad

Althoug semver states that m.m.p should be present. That does not mean it always is. Some software only gives a major or major.minor number. I would like semver to parse those numbers with minor or patch numbers defaulting to 0. That's what is ment by those major only numbers anyway.

version = semver.parse('3.0')
Should result in 3.0.0

version = semver.parse('10')
Should result in 10.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Not SemverThis issue does not belong to semver or is an invalid issueWontfixInvalid, out-of-scope, or other inappropriate issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy