Discussion:
[Numpy-discussion] Numpy 1.10.2rc1
Charles R Harris
2015-11-12 21:11:14 UTC
Permalink
Hi All,

I am pleased to announce the release of Numpy 1.10.2rc1. This release
should fix the problems exposed in 1.10.1, which is not to say there are no
remaining problems. Please test this thoroughly, exspecially if you
experienced problems with 1.10.1. Julian Taylor has opened an issue
relating to cblas detection on Debian (and probably Debian derived
distributions) that is not dealt with in this release. Hopefully a solution
will be available before the final.

To all who reported issues with 1.10.1 and to those who helped close them,
a big thank you.

Source and binary files may be found on Sourceforge
<https://sourceforge.net/projects/numpy/files/NumPy/1.10.1/>.

Chuck
Orion Poplawski
2015-11-20 20:42:11 UTC
Permalink
Post by Charles R Harris
Hi All,
I am pleased to announce the release of Numpy 1.10.2rc1. This release should
fix the problems exposed in 1.10.1, which is not to say there are no remaining
problems. Please test this thoroughly, exspecially if you experienced problems
with 1.10.1. Julian Taylor has opened an issue relating to cblas detection on
Debian (and probably Debian derived distributions) that is not dealt with in
this release. Hopefully a solution will be available before the final.
So, this fails:

File "setup.py", line 427, in fortran_extensionlists
if StrictVersion(np.version.version) > StrictVersion("1.6.1"):
File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '1.10.2rc1'

But I'm not sure numpy has made any contracts to follow the distutils
StrictVersion format:
http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html

Any thoughts?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane ***@nwra.com
Boulder, CO 80301 http://www.nwra.com
Charles R Harris
2015-11-20 21:00:37 UTC
Permalink
Post by Charles R Harris
Post by Charles R Harris
Hi All,
I am pleased to announce the release of Numpy 1.10.2rc1. This release
should
Post by Charles R Harris
fix the problems exposed in 1.10.1, which is not to say there are no
remaining
Post by Charles R Harris
problems. Please test this thoroughly, exspecially if you experienced
problems
Post by Charles R Harris
with 1.10.1. Julian Taylor has opened an issue relating to cblas
detection on
Post by Charles R Harris
Debian (and probably Debian derived distributions) that is not dealt
with in
Post by Charles R Harris
this release. Hopefully a solution will be available before the final.
File "setup.py", line 427, in fortran_extensionlists
File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '1.10.2rc1'
But I'm not sure numpy has made any contracts to follow the distutils
http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html
No, we don't support StrictVersion nor does Scipy.

"""Utility to compare (Numpy) version strings.

The NumpyVersion class allows properly comparing numpy version strings.
The LooseVersion and StrictVersion classes that distutils provides don't
work; they don't recognize anything like alpha/beta/rc/dev versions.

"""

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.

Chuck
Charles R Harris
2015-11-20 21:37:33 UTC
Permalink
Post by Charles R Harris
Post by Charles R Harris
Post by Charles R Harris
Hi All,
I am pleased to announce the release of Numpy 1.10.2rc1. This release
should
Post by Charles R Harris
fix the problems exposed in 1.10.1, which is not to say there are no
remaining
Post by Charles R Harris
problems. Please test this thoroughly, exspecially if you experienced
problems
Post by Charles R Harris
with 1.10.1. Julian Taylor has opened an issue relating to cblas
detection on
Post by Charles R Harris
Debian (and probably Debian derived distributions) that is not dealt
with in
Post by Charles R Harris
this release. Hopefully a solution will be available before the final.
File "setup.py", line 427, in fortran_extensionlists
File "/usr/lib64/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '1.10.2rc1'
But I'm not sure numpy has made any contracts to follow the distutils
http://epydoc.sourceforge.net/stdlib/distutils.version.StrictVersion-class.html
No, we don't support StrictVersion nor does Scipy.
"""Utility to compare (Numpy) version strings.
The NumpyVersion class allows properly comparing numpy version strings.
The LooseVersion and StrictVersion classes that distutils provides don't
work; they don't recognize anything like alpha/beta/rc/dev versions.
"""
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.
In fact, I don't see where the call is coming from. Is this something
specific to your project? If so, you want to use NumpyVersion which you can
import from `numpy.lib`.

Chuck

Loading...