[Numpy-discussion] scipy.weave + nose testing no longer works with numpy 1.7.0
ralf.gommers at gmail.com
Wed Mar 6 14:42:45 EST 2013
On Wed, Mar 6, 2013 at 5:14 PM, Marcel Stimberg <
marcelcoding+numpy at gmail.com> wrote:
> 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):
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion