[Biopython-dev] [Biopython] Switching to PEP440 compliant versioning for our development code

Peter Cock p.j.a.cock at googlemail.com
Thu Jun 23 19:44:50 UTC 2016

On Thu, Jun 23, 2016 at 7:59 PM, Eric Talevich <eric.talevich at gmail.com> wrote:
> +1
> I agree with this change. But in my experience, the suffix that plays best
> with Python versioning- and packaging-related tools, and follows PEP440 most
> literally, would be "<next_version>.dev0".
> -Eric

Yes, by my reading of PEP440 etc, 1.68.dev would be normalised
to 1.68.dev0 for comparison - but personally that looks silly and
will just lead people to ask what the trailing zero means.

On a related note, we could try to do something clever like
1.68.devN where N is the number of commits as in
but that seems overly complicated.

Perhaps 1.68.devYYYYMMDD would be a better idea if we
really cared about telling apart intermediate development
releases (important the trailing number strictly increases),
but thus far it hasn't been a problem.


More information about the Biopython-dev mailing list