[Numpy-discussion] scipy.weave + nose testing no longer works with numpy 1.7.0

Ralf Gommers ralf.gommers@gmail....
Wed Mar 6 13:42:45 CST 2013


On Wed, Mar 6, 2013 at 5:14 PM, Marcel Stimberg <
marcelcoding+numpy@gmail.com> wrote:

> Hi,
>
> I noticed that our unit tests running under nose and using scipy.weave
> started to fail with numpy 1.7.0 because of a change in
> numpy.distutils.exec_command (called by scipy.weave) which now assumes
> that sys.stdout always provides a fileno function (which fails because
> nose redirect stdout to a cStringIO). I guess the combination of
> scipy.weave and nose is not that unusual for scientific software,
> maybe 1.7.1 could make the exec_command a bit more robust in that
> regard? I filed the issue as #2999 in github (including a simple
> example triggering the error):
> https://github.com/numpy/numpy/issues/2999
>

That ticket has been sitting in my inbox for the last 2 weeks, sorry for
not replying earlier. It's yet again a case of a small and seemingly
harmless change in distutils breaking a fair amount of things.

I added it to the 1.7.1 milestone.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130306/010d1e16/attachment.html 


More information about the NumPy-Discussion mailing list