<div dir="ltr"><div><div>Hi,<br><br>I checkout the dev version of numpy and it fail to compile with this error:<br><br>creating build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/numpy/core/src/multiarray<br><br>compile options: '-DHAVE_NPY_CONFIG_H=1 -Inumpy/core/include -Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/opt/lisa/os/epd-7.1.2/include/python2.7 -c'<br>
<br>gcc: numpy/core/src/multiarray/sequence.c<br><br>gcc: numpy/core/src/multiarray/descriptor.c<br><br>gcc: numpy/core/src/multiarray/getset.c<br><br>gcc: numpy/core/src/multiarray/arrayobject.c<br><br>gcc: numpy/core/src/multiarray/methods.c<br>
<br>numpy/core/src/multiarray/methods.c: In function ‘array_partition’:<br><br>numpy/core/src/multiarray/methods.c:1199:38: error: ‘PyArray_SelectkindConverter’ undeclared (first use in this function)<br><br>numpy/core/src/multiarray/methods.c:1199:38: note: each undeclared identifier is reported only once for each function it appears in<br>
<br>numpy/core/src/multiarray/methods.c: In function ‘array_argpartition’:<br><br>numpy/core/src/multiarray/methods.c:1316:38: error: ‘PyArray_SelectkindConverter’ undeclared (first use in this function)<br><br>numpy/core/src/multiarray/methods.c:1352:9: warning: assignment makes pointer from integer without a cast<br>
<br>numpy/core/src/multiarray/methods.c: In function ‘array_partition’:<br><br>numpy/core/src/multiarray/methods.c:1199:38: error: ‘PyArray_SelectkindConverter’ undeclared (first use in this function)<br><br>numpy/core/src/multiarray/methods.c:1199:38: note: each undeclared identifier is reported only once for each function it appears in<br>
<br>numpy/core/src/multiarray/methods.c: In function ‘array_argpartition’:<br><br>numpy/core/src/multiarray/methods.c:1316:38: error: ‘PyArray_SelectkindConverter’ undeclared (first use in this function)<br><br>numpy/core/src/multiarray/methods.c:1352:9: warning: assignment makes pointer from integer without a cast<br>
<br>error: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -O2 -fPIC -DHAVE_NPY_CONFIG_H=1 -Inumpy/core/include -Ibuild/src.linux-x86_64-2.7/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/opt/lisa/os/epd-7.1.2/include/python2.7 -c numpy/core/src/multiarray/methods.c -o build/temp.linux-x86_64-2.7/numpy/core/src/multiarray/methods.o" failed with exit status 1<br>
<br><br></div> PyArray_SelectkindConverter is defined in numpy/core/src/multiarray/conversion_utils.c. methods.c include conversion_utils.h, but there is no fct declaration of this fct in this file. Is that normal?<br><br>
</div>Fred<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 8, 2013 at 8:55 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, Sep 8, 2013 at 6:36 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sun, Sep 8, 2013 at 3:45 PM, Christoph Gohlke <span dir="ltr"><<a href="mailto:cgohlke@uci.edu" target="_blank">cgohlke@uci.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 9/8/2013 12:14 PM, Charles R Harris wrote:<br>
> Hi all,<br>
><br>
> I'm happy to announce the second beta release of Numpy 1.8.0. This<br>
> release should solve the Windows problems encountered in the first beta.<br>
> Many thanks to Christolph Gohlke and Julian Taylor for their hard work<br>
> in getting those issues settled.<br>
><br>
> It would be good if folks running OS X could try out this release and<br>
> report any issues on the numpy-dev mailing list. Unfortunately the files<br>
> still need to be installed from source as dmg files are not avalable at<br>
> this time.<br>
><br>
> Source tarballs and release notes can be found at<br>
> <a href="https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b2/" target="_blank">https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b2/</a>. The Windows<br>
> and OS X installers will follow when the infrastructure issues are dealt<br>
> with.<br>
><br>
> Chuck<br>
><br>
<br>
<br>
</div></div>Hello,<br>
<br>
I tested numpy 1.8.0b2 with Visual Studio and Intel MKL on Python 2.7<br>
and 3.3 for Windows, 32 and 64 bit. There's only a single test failure<br>
on win-amd64-py3.3, which looks strange since the test expects a<br>
TypeError to be raised.<br>
<br>
======================================================================<br>
ERROR: test_record_no_hash (test_multiarray.TestRecord)<br>
<div>----------------------------------------------------------------------<br>
Traceback (most recent call last):<br>
File<br>
</div>"X:\Python33\lib\site-packages\numpy\core\tests\test_multiarray.py",<br>
line 2464, in test_record_no_hash<br>
self.assertRaises(TypeError, hash, a[0])<br>
File "X:\Python33\lib\unittest\case.py", line 570, in assertRaises<br>
return context.handle('assertRaises', callableObj, args, kwargs)<br>
File "X:\Python33\lib\unittest\case.py", line 135, in handle<br>
callable_obj(*args, **kwargs)<br>
File "X:\Python33\lib\unittest\case.py", line 153, in __exit__<br>
self.obj_name))<br>
TypeError: unhashable type: 'writeable void-scalar'<br>
<br>
<br></blockquote><div> </div></div></div><div>Hmm, that *is* strange.<br><br></div><div>I don't know what to make of the scipy errors at first glance.<br></div><div><br></div><div><snip><br><br></div></div></div>
</div></blockquote><div> </div></div></div><div>I'm going to guess self.assertRaises tried to hash it again, raising the error again, and we see the second one. The assertRaises from numpy.testing might not have that problem.<br>
<br></div><div>Chuck <br></div></div></div></div>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br></div>