DAI-Lab / cookiecutter-pypackage

DAI Lab's adaptation of cookiecutter-pypackage
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

The bumpversion pre-release serialization format is not semver compliant #43

Closed micahjsmith closed 4 years ago

micahjsmith commented 4 years ago

Pre-release versions are serialized like: 0.2.1.dev0. This is not a valid version number according to :

<valid semver> ::= <version core>
                 | <version core> "-" <pre-release>
                 | <version core> "+" <build>
                 | <version core> "-" <pre-release> "+" <build>

Pre-releases should be separated from the core version number with a hyphen only, a dot is not valid.

micahjsmith commented 4 years ago

@csala

micahjsmith commented 4 years ago

anyway it turns out that semver and PEP 440 are incompatible on this point

csala commented 4 years ago

Shall we close the issue?