[Numpy-discussion] 1.8.1rc1 on sourceforge.

Julian Taylor jtaylor.debian at googlemail.com
Tue Mar 4 12:29:37 EST 2014


On 04.03.2014 18:08, Christoph Gohlke wrote:
> On 3/4/2014 4:49 AM, Thomas Unterthiner wrote:
>> Hi there!
>>
>> I just tried setting up a new installation using numpy 1.8.1rc1 (+scipy
>> 0.13.3 and matplotlib 1.3.1). I ran into problems when installing
>> matplotlib 1.3.1. The attached logfile shows the full log, but it ends with:
>>
>> src/_png.cpp:329:15: error: ‘npy_PyFile_Dup’ was not declared in this scope
>>       if ((fp = npy_PyFile_Dup(py_file, "rb")))
>>                 ^
>> src/_png.cpp:577:13: error: ‘npy_PyFile_DupClose’ was not declared in
>> this scope
>>           if (npy_PyFile_DupClose(py_file, fp)) {
>>               ^
>> error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
>>
>>
>> The problem went away (and matplotlib installed cleanly) when I re-did
>> the whole shebang using numpy 1.8.0, so I suspect this was caused by
>> something in the rc.
>>
>> Cheers
>>
>> Thomas
>>
>>
> 
> 
> This error is known and expected. It is due to an API change in a 
> semi-private numpy header and it is fixed in matplotlib master and v1.3.x.
> 
> <https://github.com/numpy/numpy/pull/4152>
> <https://github.com/numpy/numpy/pull/4214>
> <https://github.com/matplotlib/matplotlib/pull/2705>
> 

hm breaking released matplotlib is bad, I though matplotlib didn't use
that function, I could have sworn I checked that.
I guess we will have to revert this change to an internal duplicate.



More information about the NumPy-Discussion mailing list