Bug#718819: Bug #718819: python3 has circular Depends on dh-python

2018-05-25 Thread Nicolas Braud-Santoni
Control: clone -1 -2
Control: severity -2 wishlist
Control: reassign -2 lintian
Control: retitle  -2 warn when using dh_python3 without explicit dependency

Dear Lintian maintainers,

Currently, over 250 source packages in the archive call dh_python3 (either
directly or through dh) without having a build dependency on it:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718819#39


Would it be possible to make Lintian warn (or error? not sure what is
appropriate) in such cases?  This would hopefully make the resolution
of #718819 smoother (as all such packages will FTBFS when it is fixed)


Best,

  nicoo

On Fri, May 25, 2018 at 04:51:29PM +0200, Nicolas Braud-Santoni wrote:
> However, your issue can be fixed by removing the (circular) dependency of
> python3 on dh-python; as Apollon noted in a previous mail [0], this requires a
> Mass Bug Filling as hundreds of packages still use dh_python3 without 
> depending
> on dh-python.
> 
> [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718819#39



Bug#718819: python3 has circular Depends on dh-python

2018-05-25 Thread Nicolas Braud-Santoni
Control: tag -1 - wontfix
Control: tag -1 + buster sid

Hi Jim,


On Wed, Mar 21, 2018 at 10:18:43AM +0200, jim_p wrote:
> Package: python3
> Version: 3.6.4-1
> Followup-For: Bug #718819
> 
> Dear Maintainer,
> 
> First of all, thank you for merging my report (893477) with this one. It seems
> that the python3 package is a better place to make that report, although I
> still think that dpkg-dev is the source of my issue.

No, non-development packages pulling in dpkg-dev through python3 and dh-python
is due to the spurious dependency of python3 on dh-python.


> Forth, can't you just make dpkg-dev an OPTIONAL depencency for dh-python?
> Making it a recommended one would still make apt install it on systems that 
> are
> configured to install recommended packages by default, which in turn is the
> default behaviour of apt.

As far as I understand, dh-python does require functionality from dpkg-dev
to function at all, so a hard-dependency is required.

However, your issue can be fixed by removing the (circular) dependency of
python3 on dh-python; as Apollon noted in a previous mail [0], this requires a
Mass Bug Filling as hundreds of packages still use dh_python3 without depending
on dh-python.

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718819#39


> Fifth, seeing that "wontfix" there means I have little to no hope of changing
> your minds, and that makes me really upset.

According to the earlier emails in the bug (#718819), the “wontfix” was only in
the context of the `stretch` release, as there was too little time left to deal
with all the packages that would require fixing.

If you take the time to read the previous mails, I do not think you will find
anything indicating this isn't considered a bug, or that it will not be fixed;
the maintainers only need more time as there are hundreds of impacted packages.

As such, I am removing the wontfix tag.


Best,

  nicoo



Bug#718819: python3 has circular Depends on dh-python

2018-03-21 Thread jim_p
Package: python3
Version: 3.6.4-1
Followup-For: Bug #718819

Dear Maintainer,

First of all, thank you for merging my report (893477) with this one. It seems
that the python3 package is a better place to make that report, although I
still think that dpkg-dev is the source of my issue.

Second, this report is written from my debian testing installation, because I
decided to remove dpkg-dev and all the useless dependencies it brings along
from my unstable system. That also removed dh-python and python3 along with
more packages. I also lost pastebinit, icdiff and reportbug as I can remember,
thus I can no longer use reportbug to report bugs from that system directly.

Third, for a tiny package like pastebinit, apt now installs all sorts of
rubbish due to that circular depencency between dh-python and python3 and the
direct one between dh-python and dpkg-dev, e.g.

# apt-get install pastebinit
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-i686-linux-gnu bzip2 dh-python dpkg-dev
  libbinutils libdpkg-perl libpython3-stdlib libpython3.6-minimal
  libpython3.6-stdlib make patch python3 python3-minimal python3.6
  python3.6-minimal
Suggested packages:
  binutils-doc bzip2-doc debian-keyring gnupg | gnupg2 gcc | c-compiler git
  bzr make-doc ed diffutils-doc python3-doc python3-tk python3-venv
  python3.6-venv python3.6-doc binfmt-support
Recommended packages:
  build-essential gcc | c-compiler fakeroot gnupg | gnupg2
  libalgorithm-merge-perl libfile-fcntllock-perl
The following NEW packages will be installed:
  binutils binutils-common binutils-i686-linux-gnu bzip2 dh-python dpkg-dev
  libbinutils libdpkg-perl libpython3-stdlib libpython3.6-minimal
  libpython3.6-stdlib make pastebinit patch python3 python3-minimal python3.6
  python3.6-minimal
0 upgraded, 18 newly installed, 0 to remove and 2 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 55.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] n

And all that with apt being configured to NOT install suggested and recommended
packages! If I had configured apt to install recommended dependencies as well,
the useless ones would be a lot more.

Forth, can't you just make dpkg-dev an OPTIONAL depencency for dh-python?
Making it a recommended one would still make apt install it on systems that are
configured to install recommended packages by default, which in turn is the
default behaviour of apt.

Fifth, seeing that "wontfix" there means I have little to no hope of changing
your minds, and that makes me really upset.

Thank you.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3 depends on:
ii  dh-python  2.20170125
ii  libpython3-stdlib  3.6.4-1
ii  python3-minimal3.6.4-1
ii  python3.6  3.6.5~rc1-1

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc   
pn  python3-tk
pn  python3-venv  

-- no debconf information



Bug#718819: python3 has circular Depends on dh-python

2018-03-20 Thread Apollon Oikonomopoulos
On 13:01 Tue 20 Mar , Apollon Oikonomopoulos wrote:
> Hi,
> 
> [Following up on #718819]

> 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. 

s/718819/893477/, sorry!



Bug#718819: python3 has circular Depends on dh-python

2018-03-20 Thread Apollon Oikonomopoulos
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



Bug#718819: python3 has circular Depends on dh-python

2018-01-18 Thread Alexandre Detiste
Hi,

> python3 will drop dh-python dependency in Buster

This is just a reminder that this bug can now easily be closed.

Greetings,


Bug#718819: python3 has circular Depends on dh-python

2017-02-05 Thread Faidon Liambotis
On Sun, Feb 05, 2017 at 01:04:41PM +0100, Piotr Ozarowski wrote:
> 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)

Ah! That makes sense now :) Thanks for explanation!

Regards,
Faidon



Bug#718819: python3 has circular Depends on dh-python

2017-02-05 Thread Piotr Ozarowski
[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)



Bug#718819: python3 has circular Depends on dh-python

2017-02-05 Thread Faidon Liambotis
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".

Thanks!
Faidon



Bug#718819: python3 has circular Depends on dh-python

2013-08-06 Thread Matthias Klose
Control: tags -1 wontfix

Am 05.08.2013 22:56, schrieb Bill Allombert:
 Package: python3
 Version: 3.3.2-13
 Severity: important
 
 Hello Matthias,
 
 There is a circular dependency between python3 and dh-python:
 
 python3   :Depends: dh-python
 dh-python :Depends: python3 (= 3.2.3-3~)

expected.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#718819: python3 has circular Depends on dh-python

2013-08-05 Thread Bill Allombert
Package: python3
Version: 3.3.2-13
Severity: important

Hello Matthias,

There is a circular dependency between python3 and dh-python:

python3 :Depends: dh-python
dh-python   :Depends: python3 (= 3.2.3-3~)

Cheers,
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org