Hi,

[Following up on #718819]

On 13:04 Sun 05 Feb     , Piotr Ozarowski wrote:
> [Faidon Liambotis, 2017-02-05]
> > Hi!
> > 
> > On Tue, Aug 06, 2013 at 10:21:43AM +0200, Matthias Klose wrote:
> > > > There is a circular dependency between python3 and dh-python:
> > > > 
> > > > python3         :Depends: dh-python
> > > > dh-python       :Depends: python3 (>= 3.2.3-3~)
> > > 
> > > expected.
> > 
> > Could you perhaps explain why is that the case? I came looking in the
> > BTS because I found it odd that the python3 package, presumably intended
> > for end-users (or end-systems), just wanting to run python3 code,
> > depends on dh-python, a package that contains "Debian helper tools for
> > packaging Python libraries and applications".
> 
> that's because many packages still build depend on python3 without
> dh-python (dh_python3 used to be shipped in python3 package). dh-python
> build depends on python3-minimal only so it shouldn't be that big of a
> problem. python3 will drop dh-python dependency in Buster (it's too late
> to deal with all the FTBFS in Strech)

As illustrated by #718819, python3 now pulls in dpkg-dev transitively 
via dh-python, which on many systems will also pull in build-essential 
as a Recommends. 

It appears there are roughly 250 source packages[1] in the archive that 
call dh_python3 (either directly, or via dh) and do not 
Build-Depend(-Indep) on dh-python. This will require an MBF, so if we 
want the dependency gone by the time Buster is out, now is probably a 
good time to act.

Regards,
Apollon

[1] Obtained by diff'ing the results of the following query on 
    codesearch.d.n:
      dh_python3|--with[= ][\S]*python3 path:debian/rules*
    against
      grep-dctrl -n -w -F Build-Depends,Build-Depends-Indep -s Package dh-python
    on sid main

Reply via email to