[Numpy-discussion] Error building with Python 3.3 (was Re: Code Freeze for NumPy 1.7)

2012-07-15 Thread Chris Ball
Stefan Krah bytereef.org> writes: ... > I wonder if this might be a blocker: Python-3.3 will be released in August > and I don't think the issue is fixed yet: > > http://projects.scipy.org/numpy/ticket/2145 In case it helps, on a 64-bit Debian 6 machine where building with Python 3.1 and 3.2

[Numpy-discussion] Possible test failure on Debian 6 with Python 2.6

2012-07-15 Thread Chris Ball
Hi, I'm trying to set up various build machines. Some of these are with ShiningPanda.com, which provides a 64-bit Debian 6 machine (as well as Windows 7). This machine has multiple versions of Python installed. Using the build procedure below, I see a test failure with Python 2.6 (and 2.7) bu

[Numpy-discussion] Help building NumPy on Windows

2012-07-15 Thread Chris Ball
Hi, I'm having some trouble building numpy on a 64-bit Windows 7 machine. I'm probably accidentally missing a step following the build process described at http://scipy.org/Installing_SciPy/Windows; it would be great if someone could spot what! Here's what I did: 1. installed python 2.7 from p

Re: [Numpy-discussion] Buildbot status

2012-07-08 Thread Chris Ball
Stéfan van der Walt sun.ac.za> writes: ... > I'd like to find out what the current status of continuous integration > is for numpy. I'm aware of: > > a) http://buildbot.scipy.org -- used by Ralf for testing releases? > b) http://travis-ci.org -- connected via GitHub > c) http://184.73.247.160:811

Re: [Numpy-discussion] Option parsing: tox and test-installed-numpy.py

2012-07-08 Thread Chris Ball
On Sun, Jul 8, 2012 at 6:52 PM, Nathaniel Smith wrote: > On Sun, Jul 8, 2012 at 6:44 PM, Chris Ball wrote: >> Hi, >> >> When calling tools/test-installed-numpy.py >> (https://github.com/numpy/numpy/blob/master/tools/test-installed-numpy.py), >> I can pass o

[Numpy-discussion] Option parsing: tox and test-installed-numpy.py

2012-07-08 Thread Chris Ball
Hi, When calling tools/test-installed-numpy.py (https://github.com/numpy/numpy/blob/master/tools/test-installed-numpy.py), I can pass options to nose by supplying those options after "--", eg: $ python tools/test-installed-numpy.py -- --with-xunit (which passes "--with-xunit" to nose). NumPy's to

[Numpy-discussion] How to run NumPy's tests with coverage?

2012-05-06 Thread Chris Ball
Hi, I'm trying to figure out how to run NumPy's tests with coverage enabled (i.e. numpy.test(coverage=True) ). I can run the tests successfully like this: $ git clone git://github.com/numpy/numpy.git [...] $ cd numpy/ $ python setup.py build_ext -i [...] $ cd .. # (avoid running from source dir

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 depende

Re: [Numpy-discussion] Continuous Integration

2012-05-02 Thread Chris Ball
David Froger gmail.com> writes: > > I've been working on setting up a new buildbot for > > NumPy. Unfortunately, I don't have much time to work on it, > > so it's slow going! ... > Hi, > > If there are things one can contribute to help the development > of the buildbot for NumPy, I would be ha

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

Re: [Numpy-discussion] Continuous Integration

2012-05-01 Thread Chris Ball
Pauli Virtanen iki.fi> writes: > > 01.05.2012 11:14, David Froger kirjoitti: > > Excerpts from Travis Oliphant's message of mar. mai 01 01:39:26 +0200 2012: > > > If you have particular reasons why we should choose a particular CI service, > > > please speak up and let your voice be heard. The

Re: [Numpy-discussion] Segmentation fault during tests with Python 2.7.2 on Debian 6?

2012-04-16 Thread Chris Ball
Charles R Harris gmail.com> writes: > > > On Thu, Apr 12, 2012 at 8:13 PM, Charles R Harris gmail.com> wrote: > > On Thu, Apr 12, 2012 at 7:41 PM, Charles R Harris gmail.com> wrote: > > On Thu, Apr 12, 2012 at 2:05 AM, Chris Ball gmail.com> wrote: >

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

2012-04-16 Thread Chris Ball
Hi, When I build NumPy and then run the tests on Ubuntu (10.04 LTS) and Debian (6.1), I always seem to get several failures. I guess most of these failures come from not having some dependencies installed, but I can't figure out which ones by reading e.g. http://docs.scipy.org/doc/numpy/user/in

[Numpy-discussion] Segmentation fault during tests with Python 2.7.2 on Debian 6?

2012-04-12 Thread Chris Ball
Hi, I'm trying out various continuous integration options, so I happen to be testing NumPy on several platforms that I don't normally use. Recently, I've been getting a segmentation fault on Debian 6 (with Python 2.7.2): Linux debian6-amd64 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x

Re: [Numpy-discussion] YouTrack License

2012-02-28 Thread Chris Ball
Travis Oliphant gmail.com> writes: > > I just received word that NumPy has a  license to use TeamCity and YouTrack for NumPy development.  > YouTrack is a really nice issue tracker:   http://www.jetbrains.com/youtrack/ > > > TeamCity is a really nice Continuous Integration system:  http:// www

[Numpy-discussion] Buildbot/continuous integration (was Re: Issue Tracking)

2012-02-16 Thread Chris Ball
Ralf Gommers googlemail.com> writes: ... > While we're at it, our buildbot situation is much worse than our issue > tracker situation. This also looks good (and free): > http://www.jetbrains.com/teamcity/ I'd like to help with the NumPy Buildbot situation, and below I propose a plan for myself t

Re: [Numpy-discussion] clip() with None as argument

2010-09-09 Thread Chris Ball
Robert Kern gmail.com> writes: > > On Wed, Sep 8, 2010 at 14:42, Chris Ball gmail.com> wrote: > > Robert Kern gmail.com> writes: > > ... > >>>> a = numpy.array([1,2,3,4,5]) > >>>> a.clip(2,None) > > array([2, 2, 2, 2, 2], dtype=obj

Re: [Numpy-discussion] clip() with None as argument

2010-09-08 Thread Chris Ball
Robert Kern gmail.com> writes: > > On Tue, Sep 7, 2010 at 15:12, Friedrich Romstedt > gmail.com> wrote: > > Ah, no need to answer, I do this myself: > > > > Friedrich, would you please use numpy.inf and -numpy.inf. > > But if you have an integer array, you will run into the same problem. > The

[Numpy-discussion] Problem accessing elements of an array of dtype="O" from C

2008-02-05 Thread Chris Ball
Hi, I'm having some trouble accessing elements in an array of dtype="O" from C code; I hope someone on the list could give me some advice (because I might be doing something stupid). I have an array of simple objects, created as follows: class CF(object): def __init__(self,num=0.0):

Re: [Numpy-discussion] 0/0 is 0 or nan?

2007-03-09 Thread Chris Ball
Thank you both for your replies - the difference is clear to me now. Chris ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] 0/0 is 0 or nan?

2007-03-08 Thread Chris Ball
Hi, I noticed some behavior that seems inconsistent to me: >>> from numpy import divide, seterr >>> seterr(divide='ignore') {'over': 'raise', 'divide': 'raise', 'invalid': 'raise', 'under': 'raise'} >>> seterr() {'over': 'raise', 'divide': 'ignore', 'invalid': 'raise', 'under': 'raise'} >>> divid