Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10311 > unrolled thread

packages that use dh_python{2,3} but don't depend on dh-python

Started byPiotr Ożarowski <piotr@debian.org>
First post2018-03-26 13:40 +0200
Last post2018-04-05 17:00 +0200
Articles 13 — 9 participants

Back to article view | Back to linux.debian.maint.python


Contents

  packages that use dh_python{2,3} but don't depend on dh-python Piotr Ożarowski <piotr@debian.org> - 2018-03-26 13:40 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Pierre-Elliott Bécue <becue@crans.org> - 2018-03-26 14:10 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Simon McVittie <smcv@debian.org> - 2018-03-26 16:50 +0200
      RE:packages that use dh_python{2,3} but don't depend on dh-python PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-03-26 17:40 +0200
        Re: packages that use dh_python{2,3} but don't depend on dh-python Ondrej Novy <novy@ondrej.org> - 2018-03-27 12:10 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Julien Puydt <julien.puydt@laposte.net> - 2018-03-27 01:10 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Piotr Ożarowski <piotr@debian.org> - 2018-03-27 12:40 +0200
      Re: packages that use dh_python{2,3} but don't depend on dh-python Matthias Klose <doko@debian.org> - 2018-03-27 12:50 +0200
        Re: packages that use dh_python{2,3} but don't depend on dh-python Piotr Ożarowski <piotr@debian.org> - 2018-03-27 13:10 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Matthias Klose <doko@debian.org> - 2018-03-27 12:40 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Thomas Goirand <zigo@debian.org> - 2018-04-02 00:00 +0200
      Re: packages that use dh_python{2,3} but don't depend on dh-python Thomas Goirand <zigo@debian.org> - 2018-04-02 22:50 +0200
    Re: packages that use dh_python{2,3} but don't depend on dh-python Andreas Tille <andreas@an3as.eu> - 2018-04-05 17:00 +0200

#10311 — packages that use dh_python{2,3} but don't depend on dh-python

FromPiotr Ożarowski <piotr@debian.org>
Date2018-03-26 13:40 +0200
Subjectpackages that use dh_python{2,3} but don't depend on dh-python
Message-ID<vxyDL-3k3-3@gated-at.bofh.it>
Hi,

Here's a list of packages that will FTBFS soon if dh-python will not be
added to Build-Depends (it's time to drop dh-python from python3's
Depends and old version of dh_python2 from python package).

http://people.debian.org/~piotr/dh_python3_without_dh-python.list
http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
http://people.debian.org/~piotr/dh_python2_without_dh-python.list
http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist

The plan is to report bugs first and follow up with changes in -defaults
packages in April or May.
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [next] | [standalone]


#10312

FromPierre-Elliott Bécue <becue@crans.org>
Date2018-03-26 14:10 +0200
Message-ID<vxz6O-3NM-5@gated-at.bofh.it>
In reply to#10311

[Multipart message — attachments visible in raw view] — view raw

Le lundi 26 mars 2018 à 13:32:10+0200, Piotr Ożarowski a écrit :
> Hi,
> 
> Here's a list of packages that will FTBFS soon if dh-python will not be
> added to Build-Depends (it's time to drop dh-python from python3's
> Depends and old version of dh_python2 from python package).
> 
> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
> 
> The plan is to report bugs first and follow up with changes in -defaults
> packages in April or May.

Thanks for making me remark that we forgot to add it to two of our mailman3
packages!

Cheers,

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.

[toc] | [prev] | [next] | [standalone]


#10313

FromSimon McVittie <smcv@debian.org>
Date2018-03-26 16:50 +0200
Message-ID<vxBBD-5AQ-3@gated-at.bofh.it>
In reply to#10311
On Mon, 26 Mar 2018 at 13:32:10 +0200, Piotr Ożarowski wrote:
> Here's a list of packages that will FTBFS soon if dh-python will not be
> added to Build-Depends (it's time to drop dh-python from python3's
> Depends and old version of dh_python2 from python package).

Is there a Lintian tag for this? That's sometimes a relatively efficient
way to get packages fixed.

https://lintian.debian.org/tags/missing-build-dependency-for-dh_-command.html
is a large part of it (that tag seems to be 99% dh-python already).

https://lintian.debian.org/tags/missing-build-dependency-for-dh-addon.html
suggests that data/debhelper/dh_addons-manual needs changing from

python2||python:any | python-all:any | python-dev:any | python-all-dev:any
python3||python3:any | python3-all:any | python3-dev:any | python3-all-dev:any

to maybe something like

python2||dh-python, python:any | python-all:any | python-dev:any | python-all-dev:any
python3||dh-python, python3:any | python3-all:any | python3-dev:any | python3-all-dev:any

(assuming multiple dependencies work in that context).

> The plan is to report bugs first and follow up with changes in -defaults
> packages in April or May.

It might help to announce the intention to do a MBF on -devel now, in
the hope that some packages will get fixed before the bug-filing starts?

    smcv

[toc] | [prev] | [next] | [standalone]


#10314

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2018-03-26 17:40 +0200
Message-ID<vxCo2-6fh-11@gated-at.bofh.it>
In reply to#10313
What about teaching cme how to fix packages build-depends.

this way a simple

cme fix dpkg 

would do the job ?

[toc] | [prev] | [next] | [standalone]


#10342

FromOndrej Novy <novy@ondrej.org>
Date2018-03-27 12:10 +0200
Message-ID<vxTIe-2rX-25@gated-at.bofh.it>
In reply to#10314

[Multipart message — attachments visible in raw view] — view raw

Hi,

2018-03-26 17:03 GMT+02:00 PICCA Frederic-Emmanuel <
frederic-emmanuel.picca@synchrotron-soleil.fr>:

> What about teaching cme how to fix packages build-depends.
>

or just mass-commit it inside DPMT/PAPT/OpenStack Team, which is vast
majority of Python packages :).

-- 
Best regards
 Ondřej Nový

Email: novy@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B

[toc] | [prev] | [next] | [standalone]


#10339

FromJulien Puydt <julien.puydt@laposte.net>
Date2018-03-27 01:10 +0200
Message-ID<vxJpw-3bT-15@gated-at.bofh.it>
In reply to#10311
Hi,

Le 26/03/2018 à 13:32, Piotr Ożarowski a écrit :
> Here's a list of packages that will FTBFS soon if dh-python will not be
> added to Build-Depends (it's time to drop dh-python from python3's
> Depends and old version of dh_python2 from python package).
> 
> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
> 
> The plan is to report bugs first and follow up with changes in -defaults
> packages in April or May.

I added dh-python as build-dep of brial/polybori -- in the git
repository : I'm not sure we'll upload a new version that soon (it's a
dep of sagemath, so we're cautious).

Thanks,

Snark on #debian-python

[toc] | [prev] | [next] | [standalone]


#10343

FromPiotr Ożarowski <piotr@debian.org>
Date2018-03-27 12:40 +0200
Message-ID<vxUbg-2F3-3@gated-at.bofh.it>
In reply to#10311
[Matthias Klose, 2018-03-27]
> On 26.03.2018 19:32, Piotr Ożarowski wrote:
> > Hi,
> > 
> > Here's a list of packages that will FTBFS soon if dh-python will not be
> > added to Build-Depends (it's time to drop dh-python from python3's
> > Depends and old version of dh_python2 from python package).
> > 
> > http://people.debian.org/~piotr/dh_python3_without_dh-python.list
> > http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
> > http://people.debian.org/~piotr/dh_python2_without_dh-python.list
> > http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
> > 
> > The plan is to report bugs first and follow up with changes in -defaults
> > packages in April or May.
> 
> These lists have way to many false positives. So please, don't file bug reports
> before checking these manually.

can you name some so that I can try to figure out what went wrong?

> You have to exclude all these source packages using python/python3 as a b-d only
> and which don't build any binary packages without any python/python3 dependency
> in the packages, e.g. gcc-defaults.

gcc-defaults is not a false positive, it calls `dh_python2 -plibgcj-common` but doesn't
depend on dh-python
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [prev] | [next] | [standalone]


#10345

FromMatthias Klose <doko@debian.org>
Date2018-03-27 12:50 +0200
Message-ID<vxUkW-2Ir-5@gated-at.bofh.it>
In reply to#10343
On 27.03.2018 18:39, Piotr Ożarowski wrote:
> [Matthias Klose, 2018-03-27]
>> On 26.03.2018 19:32, Piotr Ożarowski wrote:
>>> Hi,
>>>
>>> Here's a list of packages that will FTBFS soon if dh-python will not be
>>> added to Build-Depends (it's time to drop dh-python from python3's
>>> Depends and old version of dh_python2 from python package).
>>>
>>> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
>>> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
>>> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
>>> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
>>>
>>> The plan is to report bugs first and follow up with changes in -defaults
>>> packages in April or May.
>>
>> These lists have way to many false positives. So please, don't file bug reports
>> before checking these manually.
> 
> can you name some so that I can try to figure out what went wrong?

yes. please see below for a description of such packages. Or you might share the
approach how you did construct those lists you posted.

>> You have to exclude all these source packages using python/python3 as a b-d only
>> and which don't build any binary packages without any python/python3 dependency
>> in the packages, e.g. gcc-defaults.
> 
> gcc-defaults is not a false positive, it calls `dh_python2 -plibgcj-common` but doesn't
> depend on dh-python

well, this one not anymore.

[toc] | [prev] | [next] | [standalone]


#10346

FromPiotr Ożarowski <piotr@debian.org>
Date2018-03-27 13:10 +0200
Message-ID<vxUEh-38H-3@gated-at.bofh.it>
In reply to#10345
[Matthias Klose, 2018-03-27]
> yes. please see below for a description of such packages. Or you might share the
> approach how you did construct those lists you posted.

I used codesearch.d.n¹, then downloaded JSON representation of that
search² and removed all packages that Build-Depend on dh-python from
this³ list in Python.

[¹] https://codesearch.debian.net/search?q=dh_python3|--with[%3D+].*python3+path%3Adebian%2Frules
[²] curl -s https://codesearch.debian.net/results/216977478aa5db9e/packages.json | jq -r '.Packages[]'
[³] grep-dctrl -n -w -F Build-Depends,Build-Depends-Indep -s Package dh-python /var/lib/apt/lists/deb.debian.org_debian_dists_unstable_main_source_Sources
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [prev] | [next] | [standalone]


#10344

FromMatthias Klose <doko@debian.org>
Date2018-03-27 12:40 +0200
Message-ID<vxUbg-2F3-5@gated-at.bofh.it>
In reply to#10311
On 26.03.2018 19:32, Piotr Ożarowski wrote:
> Hi,
> 
> Here's a list of packages that will FTBFS soon if dh-python will not be
> added to Build-Depends (it's time to drop dh-python from python3's
> Depends and old version of dh_python2 from python package).
> 
> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
> 
> The plan is to report bugs first and follow up with changes in -defaults
> packages in April or May.

These lists have way to many false positives. So please, don't file bug reports
before checking these manually.

You have to exclude all these source packages using python/python3 as a b-d only
and which don't build any binary packages without any python/python3 dependency
in the packages, e.g. gcc-defaults.

Matthias

[toc] | [prev] | [next] | [standalone]


#10366

FromThomas Goirand <zigo@debian.org>
Date2018-04-02 00:00 +0200
Message-ID<vzTb4-Ls-3@gated-at.bofh.it>
In reply to#10311
On 03/26/2018 01:32 PM, Piotr Ożarowski wrote:
> Hi,
> 
> Here's a list of packages that will FTBFS soon if dh-python will not be
> added to Build-Depends (it's time to drop dh-python from python3's
> Depends and old version of dh_python2 from python package).
> 
> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
> 
> The plan is to report bugs first and follow up with changes in -defaults
> packages in April or May.

I will take care of all the OpenStack packages. Some havent' been touch
in a while. If you can generate a new list after I'm done, that'd be
very helpful (it's easy to miss one of the 49 needed uploads).

Thanks for the list, and good that you're planning on doing this,
Cheers,

Thomas Goirand (zigo)

[toc] | [prev] | [next] | [standalone]


#10367

FromThomas Goirand <zigo@debian.org>
Date2018-04-02 22:50 +0200
Message-ID<vAeyS-6mQ-7@gated-at.bofh.it>
In reply to#10366
On 04/01/2018 11:55 PM, Thomas Goirand wrote:
> On 03/26/2018 01:32 PM, Piotr Ożarowski wrote:
>> Hi,
>>
>> Here's a list of packages that will FTBFS soon if dh-python will not be
>> added to Build-Depends (it's time to drop dh-python from python3's
>> Depends and old version of dh_python2 from python package).
>>
>> http://people.debian.org/~piotr/dh_python3_without_dh-python.list
>> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist
>> http://people.debian.org/~piotr/dh_python2_without_dh-python.list
>> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist
>>
>> The plan is to report bugs first and follow up with changes in -defaults
>> packages in April or May.
> 
> I will take care of all the OpenStack packages. Some havent' been touch
> in a while. If you can generate a new list after I'm done, that'd be
> very helpful (it's easy to miss one of the 49 needed uploads).
> 
> Thanks for the list, and good that you're planning on doing this,
> Cheers,
> 
> Thomas Goirand (zigo)

Hi there!

I've fixed all packages for which I was listed in. For 2 of them, I
asked for the packages to be removed from the archive. There's this one
left behind:

python-google-apputils

It's part of the packaging of GCE clients which I did in Debconf
Portland, though I didn't touch it since, and now it FTBFS, and I'm not
even sure if it's still useful. Just ignore it, I guess (ie: it's RC
buggy...).

Cheers,

Thomas Goirand (zigo)

[toc] | [prev] | [next] | [standalone]


#10388

FromAndreas Tille <andreas@an3as.eu>
Date2018-04-05 17:00 +0200
Message-ID<vBewN-5Qw-1@gated-at.bofh.it>
In reply to#10311
On Mon, Mar 26, 2018 at 01:32:10PM +0200, Piotr Ożarowski wrote:
> http://people.debian.org/~piotr/dh_python3_without_dh-python.ddlist

I've fixed

 Andreas Tille <tille@debian.org>
   iva (U)
   kissplice (U)
   python-biopython (U)      [ only in Git due to some other issues ]
   python-csb (U)
   sphinxcontrib-autoprogram (U)


> http://people.debian.org/~piotr/dh_python2_without_dh-python.ddlist

I'll work on this step by step to safe you from filing bug reports.

Kind regards

      Andreas. 

-- 
http://fam-tille.de

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web