jbweston / miniver

Like Versioneer, but smaller
Creative Commons Zero v1.0 Universal
53 stars 10 forks source link

Use .post and not .dev #55

Open hmaarrfk opened 2 years ago

hmaarrfk commented 2 years ago

I think this is actually "correct" if you use tags. Since you are always working on the 'next thing'. 'dev' seems to imply that it is a working development release of the listed version.

This is at least true when people are using packaging instead of distutils.

slavoutich commented 1 year ago

I am actually not sure that this is a good suggestion, reading PEP 440 I see:

Post-releases Some projects use post-releases to address minor errors in a final release that do not affect the distributed software (for example, correcting an error in the release notes).

and

Developmental releases Some projects make regular developmental releases, and system packagers (especially for Linux distributions) may wish to create early releases directly from source control which do not conflict with later project releases.

Reading this, I believe that for each and every commit it should be indeed devX release, but I think default behaviour for computing version if .dev tag is not pushed explicitly is wrong (just came here to open #58 for that).