[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Numpy API change?



Hi,

On Wed, Jul 28, 2010 at 11:24, Piotr Ożarowski <piotr@debian.org> wrote:
> [Jakub Wilk, 2010-07-28]
>> * Sandro Tosi <morph@debian.org>, 2010-07-28, 09:42:
>>> JFY(and others')I, with numpy -4 upload of today, we start shipping
>>> dh_numpy and pydist file: so if you use dh_python2, you can leverage
>>> the pydist file and call "dh_python2 --depends numpy" (or even
>>> dh_python2 alone if numpy is in requires.txt);
>>
>> Does it mean that if someone uses dh_python2 and have numpy in
>> requires.txt, he'll get versioned dependency on python-numpy, even if
>> it's not needed in most cases?
>
> yes

probably an opt in/out (out in this case, I think) might be useful

> if it's in requires.txt shipped by binary package (and that's what
> dh_python2 checks) then without python-numpy in Depends it will fail at
> runtime (on pkg_resources.require('numpy'))

I don't think that's what Jakub refers to: have python-numpy in
Depends is a must, but have a versioned Depends than it might be not
what the maintainer wants.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


Reply to: