<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 20, 2015 at 1:42 PM, Orion Poplawski <span dir="ltr"><<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 11/12/2015 02:11 PM, Charles R Harris wrote:<br>
> Hi All,<br>
><br>
> I am pleased to announce the release of Numpy 1.10.2rc1. This release should<br>
> fix the problems exposed in 1.10.1, which is not to say there are no remaining<br>
> problems. Please test this thoroughly, exspecially if you experienced problems<br>
> with 1.10.1. Julian Taylor has opened an issue relating to cblas detection on<br>
> Debian (and probably Debian derived distributions) that is not dealt with in<br>
> this release. Hopefully a solution will be available before the final.<br>
<br>
</span>So, this fails:<br>
<br>
  File "setup.py", line 427, in fortran_extensionlists<br>
    if StrictVersion(np.version.version) > StrictVersion("1.6.1"):<br>
  File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__<br>
    self.parse(vstring)<br>
  File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse<br>
    raise ValueError, "invalid version number '%s'" % vstring<br>
ValueError: invalid version number '1.10.2rc1'<br>
<br>
But I'm not sure numpy has made any contracts to follow the distutils<br>
StrictVersion format:<br>
<a href="http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html" rel="noreferrer" target="_blank">http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html</a></blockquote><div><br></div><div>No, we don't support StrictVersion nor does Scipy.<br><br>"""Utility to compare (Numpy) version strings.<br><br>The NumpyVersion class allows properly comparing numpy version strings.<br>The LooseVersion and StrictVersion classes that distutils provides don't<br>work; they don't recognize anything like alpha/beta/rc/dev versions.<br><br>"""<br> <br></div><div>Looks like `numpy/distutils/mingw32ccompiler.py` needs fixing. Could you open an issue? The import of StrictVersion dates back to 2005, so not sure why this is turning up now. Maybe it is specific to compiling Fortran and we haven't done that with rc's before.<br><br></div><div>Chuck<br></div></div></div></div>