Re: recommended numpy dependency ranges?
On Mon, 31 Mar 2014, Diane Trout wrote:
> Hi,
> I have a small package the depends on numpy and it recently stopped working.
> > Traceback (most recent call last):
> > File "/usr/local/lib/R/site-
> library/DEXSeq/python_scripts/dexseq_prepare_annotation.py",
> > line 33, in <module>
> > import HTSeq
> > File "/usr/lib/python2.7/dist-packages/HTSeq/__init__.py", line 9,
> > in <module>
> > from _HTSeq import *
> > File "numpy.pxd", line 155, in init HTSeq._HTSeq (src/_HTSeq.c:33074)
> > ValueError: numpy.dtype has the wrong size, try recompiling
> I'm pretty sure a recompile will fix it, the question I have is how often does
> numpy break binary compatibility?
> Should set your numpy dependencies to something like:
> python-numpy (>= 1.8, < 1.9)
do not "hard code" -- add calls to dh_numpy (dh_numpy3) to your
rules and make sure you have ${python:Depends} in your Depends
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: