[Numpy-discussion] Removing datetime support for 1.4.x series ?

Charles R Harris charlesr.harris@gmail....
Thu Feb 11 23:44:12 CST 2010


On Thu, Feb 11, 2010 at 10:28 PM, David Cournapeau <david@silveregg.co.jp>wrote:

> Charles R Harris wrote:
> >
> >
> > On Thu, Feb 11, 2010 at 10:03 PM, David Cournapeau
> > <david@silveregg.co.jp <mailto:david@silveregg.co.jp>> wrote:
> >
> >     Charles R Harris wrote:
> >      >
> >      >
> >      > On Thu, Feb 11, 2010 at 8:12 PM, David Cournapeau
> >     <david@silveregg.co.jp <mailto:david@silveregg.co.jp>
> >      > <mailto:david@silveregg.co.jp <mailto:david@silveregg.co.jp>>>
> wrote:
> >      >
> >      >     Charles R Harris wrote:
> >      >      >
> >      >      >
> >      >      > On Thu, Feb 11, 2010 at 7:00 PM, David Cournapeau
> >      >     <david@silveregg.co.jp <mailto:david@silveregg.co.jp>
> >     <mailto:david@silveregg.co.jp <mailto:david@silveregg.co.jp>>
> >      >      > <mailto:david@silveregg.co.jp
> >     <mailto:david@silveregg.co.jp> <mailto:david@silveregg.co.jp
> >     <mailto:david@silveregg.co.jp>>>> wrote:
> >      >      >
> >      >      >     josef.pktd@gmail.com <mailto:josef.pktd@gmail.com>
> >     <mailto:josef.pktd@gmail.com <mailto:josef.pktd@gmail.com>>
> >      >     <mailto:josef.pktd@gmail.com <mailto:josef.pktd@gmail.com>
> >     <mailto:josef.pktd@gmail.com <mailto:josef.pktd@gmail.com>>> wrote:
> >      >      >
> >      >      >      > scipy is relatively easy to compile, I was thinking
> >     also
> >      >     of h5py,
> >      >      >      > pytables and pymc (b/c of pytables), none of them
> are
> >      >     importing with
> >      >      >      > numpy 1.4.0 because of the cython issue.
> >      >      >
> >      >      >     As I said, all of them will have to be regenerated with
> >      >     cython 0.12.1.
> >      >      >     There is no other solution,
> >      >      >
> >      >      >
> >      >      > Wait, won't the structures be the same size? If they are
> >     then the
> >      >     cython
> >      >      > check won't fail.
> >      >
> >      >     Yes, but the structures are bigger (even after removing the
> >     datetime
> >      >     stuff, I had the cython warning when I did some tests).
> >      >
> >      >
> >      > That's curious. It sounds like it isn't ABI compatible yet.
> >
> >     The Cython problem was that before 0.12.1, it failed importing
> whenever
> >     the struct size changed. You can change struct size and keep ABI
> >     compatibility (as long as nobody includes the struct in their own
> code),
> >
> >
> > Sure, but I don't recall any additions to structures apart from the
> > datetime stuff and the metadata element.
>
> At least iterator (I needed to add some members to support the
> neighborhood iterator). There may be more changes I am not aware of, but
> a quick look at git di svn/tags/1.3.0..svn/1.4.x numpy/core/include
> suggests no other big changes,
>
>
Well, so it goes. I don't see any reasonable way to fix that. I wonder how
recent the cython size check is?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100211/c922de8c/attachment.html 


More information about the NumPy-Discussion mailing list