<p dir="ltr">I only checked this build:<br>
<a href="https://secure.travis-ci.org/#!/certik/numpy/jobs/3656960">https://secure.travis-ci.org/#!/certik/numpy/jobs/3656960</a><br>
But that log clearly shows 'python setup.py install' being used instead of 'pip install'. How certain are you that your branch actually has my fix?<br>
-n</p>
<div class="gmail_quote">On 14 Dec 2012 03:49, "Ondřej Čertík" <<a href="mailto:ondrej.certik@gmail.com">ondrej.certik@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Dec 13, 2012 at 7:16 PM, Charles R Harris<br>
<<a href="mailto:charlesr.harris@gmail.com">charlesr.harris@gmail.com</a>> wrote:<br>
><br>
><br>
> On Thu, Dec 13, 2012 at 8:04 PM, Charles R Harris<br>
> <<a href="mailto:charlesr.harris@gmail.com">charlesr.harris@gmail.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Thu, Dec 13, 2012 at 7:23 PM, Ondřej Čertík <<a href="mailto:ondrej.certik@gmail.com">ondrej.certik@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> Another weird bug sometimes happen in<br>
>>> numpy/core/tests/test_iterator.py, it looks like this:<br>
>>><br>
>>> ======================================================================<br>
>>> FAIL: test_iterator.test_iter_array_cast<br>
>>> ----------------------------------------------------------------------<br>
>>> Traceback (most recent call last):<br>
>>>   File<br>
>>> "/home/travis/virtualenv/python2.5/lib/python2.5/site-packages/nose/case.py",<br>
>>> line 197, in runTest<br>
>>>     self.test(*self.arg)<br>
>>>   File<br>
>>> "/home/travis/virtualenv/python2.5/lib/python2.5/site-packages/numpy/core/tests/test_iterator.py",<br>
>>> line 836, in test_iter_array_cast<br>
>>>     assert_equal(i.operands[0].strides, (-96,8,-32))<br>
>>>   File<br>
>>> "/home/travis/virtualenv/python2.5/lib/python2.5/site-packages/numpy/testing/utils.py",<br>
>>> line 252, in assert_equal<br>
>>>     assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg),<br>
>>> verbose)<br>
>>>   File<br>
>>> "/home/travis/virtualenv/python2.5/lib/python2.5/site-packages/numpy/testing/utils.py",<br>
>>> line 314, in assert_equal<br>
>>>     raise AssertionError(msg)<br>
>>> AssertionError:<br>
>>> Items are not equal:<br>
>>> item=0<br>
>>><br>
>>>  ACTUAL: 96<br>
>>>  DESIRED: -96<br>
>>><br>
>>> ----------------------------------------------------------------------<br>
>>><br>
>>><br>
>>> But the problem is that there is no numpy/core/tests/test_iterator.py<br>
>>> file in current branches.... This error was triggered for example by<br>
>>> these PRs:<br>
>>><br>
>>> <a href="https://github.com/numpy/numpy/pull/2765" target="_blank">https://github.com/numpy/numpy/pull/2765</a><br>
>>> <a href="https://github.com/numpy/numpy/pull/2815" target="_blank">https://github.com/numpy/numpy/pull/2815</a><br>
>>><br>
>>> and here are links to the failing Travis tests:<br>
>>><br>
>>> <a href="https://travis-ci.org/certik/numpy/builds/3656959" target="_blank">https://travis-ci.org/certik/numpy/builds/3656959</a><br>
>>> <a href="https://travis-ci.org/numpy/numpy/builds/3330234" target="_blank">https://travis-ci.org/numpy/numpy/builds/3330234</a><br>
>>><br>
>>><br>
>>> Any idea what is happening here and how to fix it?<br>
>>><br>
>><br>
>> That should have been fixed by Nathaniel's travis fix. Hmm...<br>
>><br>
><br>
> And a quick check here shows pip not removing a previous 1.6.2 install.<br>
> Maybe it is a pip version problem, pip 1.0.2 here.<br>
<br>
That's what I thought as well. I think we need to update the Travis<br>
script to manually remove the installed numpy.<br>
<br>
Btw, Travis seems to be using pip 1.2.1, at least according to:<br>
<br>
<a href="https://travis-ci.org/numpy/numpy/jobs/3330236" target="_blank">https://travis-ci.org/numpy/numpy/jobs/3330236</a><br>
<br>
Ondrej<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>
</blockquote></div>