[Numpy-discussion] Numpy 2.0 schedule

Ralf Gommers ralf.gommers at googlemail.com
Thu Jan 27 10:09:29 EST 2011


On Thu, Jan 27, 2011 at 11:09 AM, Charles R Harris <
charlesr.harris at gmail.com> wrote:

>
>
> On Wed, Jan 26, 2011 at 1:10 PM, Mark Wiebe <mwwiebe at gmail.com> wrote:
>
>> On Wed, Jan 26, 2011 at 2:23 AM, Ralf Gommers <
>> ralf.gommers at googlemail.com> wrote:
>>
>>> On Wed, Jan 26, 2011 at 12:28 PM, Mark Wiebe <mwwiebe at gmail.com> wrote:
>>>
>>>> On Tue, Jan 25, 2011 at 5:18 PM, Charles R Harris <
>>>> charlesr.harris at gmail.com> wrote:
>>>>
>>>>> On Tue, Jan 25, 2011 at 1:13 PM, Travis Oliphant <
>>>>> oliphant at enthought.com> wrote:
>>>>>
>>>>>>
>>>>>>  It may make sense for a NumPy 1.6 to come out in March / April in
>>>>>> the interim.
>>>>>>
>>>>>>
>>>>> Pulling out the changes to attain backward compatibility isn't getting
>>>>> any easier. I'd rather shoot for 2.0 in June. What can the rest of us do to
>>>>> help move things along?
>>>>>
>>>>
>>>>
>>> Focusing on 2.0 makes sense to me too. Besides that, March/April is bad
>>> timing for me so someone else should volunteer to be the release manager if
>>> we go for a 1.6.
>>>
>>
>> I think sooner than March/April might be a possibility.  I've gotten the
>> ABI working so this succeeds on my machine:
>>
>>
> If we go with a 1.6 I have some polynomial stuff I want to put in, probably
> a weekend or two of work, and there are tickets and pull requests to look
> through, so to me March-April looks like a good time. It sounds like Ralf
> has stuff scheduled for the rest of the spring after the scipy release.
> IIRC, there was at least one other person interested in managing a release
> when David left for Silveregg, do we have any volunteers for a 1.6?
>
> If we do go for 1.6 I would like to keep 2.0 in sight. If datetime, the new
> iterator, einsum, and float16 are in 1.6 then 2.0 looks more like a cleanup
> the library/inteface and support IronPython release and there isn't as much
> pressure to get it out soon. Also it is important to get the ABI right so we
> don't need to change it again soon and doing that might take a bit of trial
> and error. Does September seem reasonable?
>
> * Build SciPy against NumPy 1.5.1
>> * Build NumPy trunk
>> * Run NumPy trunk with the 1.5.1-built SciPy - all tests pass except for
>> one (PIL image resize, which tests all float types and half lacks the
>> precisions necessary)
>>
>
The PIL test can still be fixed before the final 0.9.0 release, it looks
like we will need another RC anyway. Does anyone have time for this in the
next few days?

>
>> I took a shot at fixing the ABI compatibility, and if PyArray_ArrFunc was
>>>> the main issue, then that might be done.  An ABI compatible 1.6 with the
>>>> datetime and half types should be doable, just some extensions might get
>>>> confused if they encounter arrays made with the new data types.
>>>>
>>>> Even if you fixed the ABI incompatibility (I don't know enough about the
>>> issue to confirm that), I'm not sure how much value there is in a release
>>> with as main new feature two dtypes that are not going to work well with
>>> scipy/other binaries compiled against 1.5.
>>>
>>
>> I've recently gotten the faster ufunc NEP implementation finished except
>> for generalized ufuncs, and most things work the same or faster with
>> it. Below are some timings of 1.5.1 vs the new_iterator branch.  In
>> particular, the overhead on small arrays hasn't gotten worse, but the output
>> memory layout speeds up some operations by a lot.
>>
>> Your new additions indeed look quite promising. I tried your new_iterator
branch but ran into a segfault immediately on running the tests on OS X. I
opened a ticket for it, to not mix it into this discussion about releases
too much: http://projects.scipy.org/numpy/ticket/1724.

Before we decide on a 1.6 release I would suggest to do at least the
following:
- review of ABI fixes by someone very familiar with the problem that
occurred in 1.4.0 (David, Pauli, Charles?)
- test on Linux, OS X and Windows 32-bit and 64-bit. Also with an MSVC build
on Windows, since that exposes more issues each release.

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110127/0c3eeac9/attachment.html>


More information about the NumPy-Discussion mailing list