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

Re: Numpy API change?



[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

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'))
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: