[Python-ideas] module version number support for semver.org

Jörn Hees dev at joernhees.de
Mon Apr 14 20:25:40 CEST 2014


On 14 Apr 2014, at 19:22, Guido van Rossum <guido at python.org> wrote:
> What does "official support" mean?

as i wrote:
> I'd speak in favor of officially adding support for semantic versioning to the
> python module versioning specs as a follow up to PEP 440
> ( http://legacy.python.org/dev/peps/pep-0440/ ).

Currently if you write a library and search for how to do version numbering in python you’ll probably find PEP 440.
I think it would be cool if either that PEP or a follow-up allowed (maybe even recommended) http://semver.org .
So i’m talking about changing the specs, not stdlib code. Sorry that i didn’t make that clear.

> It might be more productive if you had some code that you wanted to adopt, with an explanation of why it should go into the stdlib.

Code actually is there already in pip.util.version.SemanticVersion . One could argue to move it to distutils, but i first wanted to evaluate if there’s support for allowing Semantic Versioning.

j



More information about the Python-ideas mailing list