Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Robert Kern
On Tue, Jun 17, 2008 at 22:44, Alan McIntyre <[EMAIL PROTECTED]> wrote: > I'm assuming this experience should tell me that any item "bar" that I > can get by issuing "from numpy.foo import bar" should be considered > the public API and therefore deprecated instead of removed? ;) It's usually a go

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Alan McIntyre
On Mon, Jun 16, 2008 at 8:39 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > Please port over the changes I made to scipy.testing in scipy's r4424 > in order to avoid importing nose until the actual execution of tests. By the way, I notice that making those changes broke the ability to run a single t

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Alan McIntyre
On Tue, Jun 17, 2008 at 8:26 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2008 at 09:53, Alan McIntyre <[EMAIL PROTECTED]> wrote: >> If there's a consensus that they need to go back in and get marked as >> deprecated, I'll put them back. > > Yes, please do this. Using numpy.depreca

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Alan McIntyre
On Tue, Jun 17, 2008 at 8:15 PM, Anne Archibald <[EMAIL PROTECTED]> wrote: > Uh, I assumed NumpyTestCase was public and used it. I'm presumably not > alone, so perhaps a deprecation warning would be good. What > backward-compatible class should I use? unittest.TestCase? Yes, unittest.TestCase seem

Re: [Numpy-discussion] building 1.1.0 on 64bit, seems to be stuck on infinite loop or something

2008-06-17 Thread David Cournapeau
Charles Doutriaux wrote: > Hello, > > I'm trying to build 1.1.0 on a: > Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 > ia64 ia64 GNU/Linux > > using python 2.5 (latest stable) > > It seems to be stuck forever at the end of that output: > Is it stuck with 100 % Cpu usag

[Numpy-discussion] Array and vector initialization good practice

2008-06-17 Thread Dinesh B Vadhia
Say, there are two initialized numpy arrays: A = numpy.blah B = numpy.blah.blah With, C = A*d + B*e which doesn't have to be initialized beforehand (as A and B are and so are d and e) Now, place this in a function ie. def havingFun(d, e) C = A*d + B*e return C The main program calls h

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread David Huard
2008/6/17 Anne Archibald <[EMAIL PROTECTED]>: > 2008/6/17 Alan McIntyre <[EMAIL PROTECTED]>: > > On Tue, Jun 17, 2008 at 9:26 AM, David Huard <[EMAIL PROTECTED]> > wrote: > >> I noticed that NumpyTest and NumpyTestCase disappeared, and now I am > >> wondering whether these classes part of the publ

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Robert Kern
On Tue, Jun 17, 2008 at 09:53, Alan McIntyre <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2008 at 9:26 AM, David Huard <[EMAIL PROTECTED]> wrote: >> I noticed that NumpyTest and NumpyTestCase disappeared, and now I am >> wondering whether these classes part of the public interface or were they >> r

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Anne Archibald
2008/6/17 Alan McIntyre <[EMAIL PROTECTED]>: > On Tue, Jun 17, 2008 at 9:26 AM, David Huard <[EMAIL PROTECTED]> wrote: >> I noticed that NumpyTest and NumpyTestCase disappeared, and now I am >> wondering whether these classes part of the public interface or were they >> reserved for internal usage

Re: [Numpy-discussion] building 1.1.0 on 64bit, seems to be stuck on infinite loop or something

2008-06-17 Thread Charles R Harris
On Tue, Jun 17, 2008 at 3:40 PM, Charles Doutriaux <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to build 1.1.0 on a: > Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 > ia64 ia64 GNU/Linux > > using python 2.5 (latest stable) > > It seems to be stuck forever at the end

Re: [Numpy-discussion] building 1.1.0 on 64bit, seems to be stuck on infinite loop or something

2008-06-17 Thread Charles Doutriaux
Just so it might help debuging, when i kill it i get: _exec_command_posix failed (status=2) C. Charles Doutriaux wrote: > Hello, > > I'm trying to build 1.1.0 on a: > Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 > ia64 ia64 GNU/Linux > > using python 2.5 (latest stable)

[Numpy-discussion] building 1.1.0 on 64bit, seems to be stuck on infinite loop or something

2008-06-17 Thread Charles Doutriaux
Hello, I'm trying to build 1.1.0 on a: Linux thunder0 2.6.9-74chaos #1 SMP Wed Oct 24 08:41:12 PDT 2007 ia64 ia64 ia64 GNU/Linux using python 2.5 (latest stable) It seems to be stuck forever at the end of that output: anybody ran into this? ~/CDAT/5.0.0.beta1/bin/python setup.py install Runni

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Robert Kern
On Tue, Jun 17, 2008 at 11:04, Nils Wagner <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jun 2008 17:53:53 +0200 > "Nils Wagner" <[EMAIL PROTECTED]> wrote: > Anyway, numpy.test() now results in > > == > FAIL: > test_format.test_memmap_

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Nils Wagner
On Tue, 17 Jun 2008 18:31:31 +0200 "Nils Wagner" <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jun 2008 10:13:31 -0600 > "Charles R Harris" <[EMAIL PROTECTED]> wrote: >> On Tue, Jun 17, 2008 at 10:04 AM, Nils Wagner >><[EMAIL PROTECTED]> >> wrote: >> >>> On Tue, 17 Jun 2008 17:53:53 +0200 >>> "Nil

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Nils Wagner
On Tue, 17 Jun 2008 10:13:31 -0600 "Charles R Harris" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 17, 2008 at 10:04 AM, Nils Wagner ><[EMAIL PROTECTED]> > wrote: > >> On Tue, 17 Jun 2008 17:53:53 +0200 >> "Nils Wagner" <[EMAIL PROTECTED]> wrote: >> > Hi all, >> > >> > How do I install numpy from

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Charles R Harris
On Tue, Jun 17, 2008 at 10:04 AM, Nils Wagner <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jun 2008 17:53:53 +0200 > "Nils Wagner" <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > How do I install numpy from svn ? > > > > With latest svn I get > > > > /usr/bin/python setup.py install > > Traceback (mos

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Nils Wagner
On Tue, 17 Jun 2008 17:53:53 +0200 "Nils Wagner" <[EMAIL PROTECTED]> wrote: > Hi all, > > How do I install numpy from svn ? > > With latest svn I get > > /usr/bin/python setup.py install > Traceback (most recent call last): > File "setup.py", line 96, in ? > setup_package() > File "se

Re: [Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Charles R Harris
On Tue, Jun 17, 2008 at 9:53 AM, Nils Wagner <[EMAIL PROTECTED]> wrote: > Hi all, > > How do I install numpy from svn ? > > With latest svn I get > > /usr/bin/python setup.py install > Traceback (most recent call last): > File "setup.py", line 96, in ? > setup_package() > File "setup.py",

[Numpy-discussion] ImportError: No module named numpy.distutils.core

2008-06-17 Thread Nils Wagner
Hi all, How do I install numpy from svn ? With latest svn I get /usr/bin/python setup.py install Traceback (most recent call last): File "setup.py", line 96, in ? setup_package() File "setup.py", line 68, in setup_package from numpy.distutils.core import setup ImportError: No m

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Pearu Peterson
On Tue, June 17, 2008 6:17 am, Robert Kern wrote: > On Mon, Jun 16, 2008 at 21:18, Alan McIntyre <[EMAIL PROTECTED]> > wrote: >> On Mon, Jun 16, 2008 at 9:04 PM, Charles R Harris >> <[EMAIL PROTECTED]> wrote: > >>> In [1]: numpy.test() >>> Not implemented: Defined_Binary_Op >>> Not implemented: Def

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Alan McIntyre
On Tue, Jun 17, 2008 at 9:26 AM, David Huard <[EMAIL PROTECTED]> wrote: > I noticed that NumpyTest and NumpyTestCase disappeared, and now I am > wondering whether these classes part of the public interface or were they > reserved for internal usage ? > > In the former, it might be well to deprecate

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread Alan McIntyre
On Mon, Jun 16, 2008 at 11:17 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > These files were for the in-development g3 version of f2py. That > development has moved outside of numpy, so I think they can be removed > wholesale. Some of them seem to require a Fortran 90 compiler, so I > have had them

Re: [Numpy-discussion] Numpy 1.1.0 on Python 2.3?

2008-06-17 Thread David Cournapeau
D.Hendriks (Dennis) wrote: > > I could not find anything about Python 2.3 no longer being supported by > Numpy. Did I miss anything? > If you're right (the operation not being possible under python 2.3), then this is a bug. Numpy 1.1.* still supports python 2.3. Starting from 1.2, we will on

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread David Huard
I noticed that NumpyTest and NumpyTestCase disappeared, and now I am wondering whether these classes part of the public interface or were they reserved for internal usage ? In the former, it might be well to deprecate them before removing them. Cheers, David 2008/6/17 David Cournapeau <[EMAIL P

[Numpy-discussion] Numpy 1.1.0 on Python 2.3?

2008-06-17 Thread D.Hendriks (Dennis)
Hello, After I just upgraded my Numpy from 1.0.3.1 to 1.1.0 and executed (using Python 2.3.4): python -c 'import numpy; numpy.test()' I got: Traceback (most recent call last): File "", line 1, in ? File "###/lib/python2.3/site-packages/numpy/__init__.py", line 107, in ? import

[Numpy-discussion] Buildbot config

2008-06-17 Thread Alan McIntyre
To whomever knows, Where do we keep the buildbot configuration? The arguments for numpy.test have changed with the switch to nose, so the test step fails. It also appears nose needs to be installed/updated on the build slaves. Thanks, Alan ___ Numpy-di

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread David Cournapeau
David Cournapeau wrote: > It does not work with python2.6a3, but it is a nose problem, apparently > (I have the exact same error) > Sorry, it is a python26 problem, not nose. cheers, David ___ Numpy-discussion mailing list Numpy-discussion@scipy.or

Re: [Numpy-discussion] nose changes checked in

2008-06-17 Thread David Cournapeau
Alan McIntyre wrote: > Hi all, > > I just checked in the switch to use nose to run unit tests. Please > let me know if you experience any difficulties as a result. > It does not work with python2.6a3, but it is a nose problem, apparently (I have the exact same error) http://bzimmer.ziclix.co