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

Re: Does “${python3:Depends}” reliably generate correct dependencies?



[Ben Finney, 2015-10-25]
> Howdy all,
> 
> If we set “Depends: ${python3:Depends}” in the binary package, and use
> ‘dh_python3’, is that all that is needed to ensure the correct
> dependencies on Python 3 versions?

you also have to add correct Build-Dependencies (if not for something
else, then because you need them for tests)

> Recently I received this bug report (Bug#802889):
> 
>     please don't depend on all python3 versions, forcing the
>     installation of all python versions shouldn't be enforced for a
>     module.

my bet is you have versioned interpreter in shebang (which dh_python3
doesn't rewrite unless you tell it to via --shebang=/usr/bin/python3)
-- 
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: