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

Re: Numpy API change?



[Piotr Ożarowski, 2010-07-28]
> [Jakub Wilk, 2010-07-28]
> > 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'))

... and if you want unversioned dependency, just don't invoke dh_numpy or if
you use dh_python2, add "numpy python-numpy" to debian/pydist-overrides
-- 
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: