Re: [Numpy-discussion] Test failures - which dependencies am I missing?

2012-05-02 Thread Chris Ball
Chris Ball  gmail.com> writes:

> 
> Keith Hughitt  gmail.com> writes:
> 
> > Hi Chris,
> > 
> > Try "sudo apt-get build-dep python-numpy" to install the dependencies for
> > building NumPy. I believe it will install all of the optional dependencies 
> > as well.
> 
> Thanks for that, but I'd already tried it and found the same failures. 
> 
> However, I also found that on my version of Ubuntu (10.04 LTS), which includes
> NumPy 1.3.0, running "numpy.test(verbose=3)" yielded the following:

(Above, "numpy" is the Ubuntu-supplied numpy in case that wasn't clear.)
 
> nose.config: INFO: Excluding tests matching 
['f2py_ext','f2py_f90_ext','gen_ext',
> 'pyrex_ext', 'swig_ext', 'array_from_pyobj']

I've discovered that numpy itself explicitly excludes these tests (in 
numpy/testing/nosetester.py):

# Stuff to exclude from tests. These are from numpy.distutils   
 
excludes = ['f2py_ext',
'f2py_f90_ext',
'gen_ext',
'pyrex_ext',
'swig_ext']

So, all is explained now.

Chris

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Test failures - which dependencies am I missing?

2012-05-01 Thread Charles R Harris
On Tue, May 1, 2012 at 5:20 PM, Chris Ball  wrote:

> Keith Hughitt  gmail.com> writes:
>
> > Hi Chris,
> >
> > Try "sudo apt-get build-dep python-numpy" to install the dependencies for
> > building NumPy. I believe it will install all of the optional
> dependencies
> > as well.
>
> Thanks for that, but I'd already tried it and found the same failures.
>
> However, I also found that on my version of Ubuntu (10.04 LTS), which
> includes
> NumPy 1.3.0, running "numpy.test(verbose=3)" yielded the following:
>
> nose.config: INFO: Excluding tests matching
> ['f2py_ext','f2py_f90_ext','gen_ext',
> 'pyrex_ext', 'swig_ext', 'array_from_pyobj']
>
>
Doesn't Debian separate f2py from numpy? Also, long running tests are
skipped unless you specify 'full' as the test argument. Also, I don't
recall if the f2py tests were actually installed in 1.3, I think that came
later around 1.6.


> I'm not sure where this nose config comes from, but at least someone else
> knows
> about some of these failures; presumably they are not important. My next
> step
> was going to be searching some mailing lists/contacting the packager...
>
>
Chuck
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Test failures - which dependencies am I missing?

2012-05-01 Thread Chris Ball
Keith Hughitt  gmail.com> writes:

> Hi Chris,
> 
> Try "sudo apt-get build-dep python-numpy" to install the dependencies for
> building NumPy. I believe it will install all of the optional dependencies 
> as well.

Thanks for that, but I'd already tried it and found the same failures. 

However, I also found that on my version of Ubuntu (10.04 LTS), which includes
NumPy 1.3.0, running "numpy.test(verbose=3)" yielded the following:

nose.config: INFO: Excluding tests matching 
['f2py_ext','f2py_f90_ext','gen_ext',
'pyrex_ext', 'swig_ext', 'array_from_pyobj']

I'm not sure where this nose config comes from, but at least someone else knows
about some of these failures; presumably they are not important. My next step 
was going to be searching some mailing lists/contacting the packager...

Thanks,
Chris


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Test failures - which dependencies am I missing?

2012-05-01 Thread Keith Hughitt
Hi Chris,

Try "sudo apt-get build-dep python-numpy" to install the dependencies for
building NumPy. I believe it will install all of the optional dependencies
as well.

HTH,
Keith
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion