[Numpy-discussion] numpy dev-version-string change

Ralf Gommers ralf.gommers at gmail.com
Sun Dec 28 03:42:53 EST 2014


Hi all,

This is a heads up that the numpy version string for development versions
is changing from x.y.z.dev-githash to x.y.z.dev+githash (note the +). This
is due to PEP 440 [1], which specifies local (i.e. non-released) versions
have to use a "+". Pip 6.0, released a few days ago, enforces this so we
noticed immediately that without this version string change pip sorted the
latest dev wheel build from master below any released version.

Change in numpy at [2]; identical change in scipy at [3]. Note that this is
unlikely but not impossible to break custom version string parsers (like
[4]).

Cheers,
Ralf

[1] https://www.python.org/dev/peps/pep-0440/
[2] https://github.com/numpy/numpy/pull/5387
[3] https://github.com/scipy/scipy/pull/4307
[4] https://github.com/scipy/scipy/blob/master/scipy/lib/_version.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141228/4dab8320/attachment.html>


More information about the NumPy-Discussion mailing list