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


Groups > linux.debian.maint.python > #15491

dh_python3: file in /usr/lib/python3.12/dist-packages ?

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Carles Pina i Estany <carles@pina.cat>
Newsgroups linux.debian.maint.python
Subject dh_python3: file in /usr/lib/python3.12/dist-packages ?
Date Sun, 25 Feb 2024 01:30:01 +0100
Message-ID <IbayZ-cq1W-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Feb 25 00:23:47 2024
Old-Return-Path <carles@pina.cat>
X-Amavis-Spam-Status No, score=-13.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, PGPSIGNATURE=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 515 seconds by postgrey-1.36 at bendel; Sun, 25 Feb 2024 00:23:28 UTC
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ytcbggWz4wm0UGgS"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21468
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZdqGdoHK1JypgwIY@pina.cat
Approved robomod@news.nic.it
Lines 82
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc stefanor@debian.org
X-Original-Date Sun, 25 Feb 2024 00:14:46 +0000
X-Original-Message-ID <ZdqGdoHK1JypgwIY@pina.cat>
Xref csiph.com linux.debian.maint.python:15491

Show key headers only | View raw


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

Hi,

CCed Stefano, since I've found a commit that might be relevant that he
wrote.

Via salsa and with dh_python3:

D: dh_python3 dh_python3:179: version: 6.20231223

It generates a .deb file with a directory:

/usr/lib/python3.12/dist-packages/ping3-4.0.4.dist-info/

With two files there:
-INSTALLER
-top_level.txt

Causing lintian to complain via:
-----
W: python3-ping3: python-module-in-wrong-location usr/lib/python3.12/dist-packages/ping3-4.0.4.dist-info -> usr/lib/python3/dist-packages/ping3-4.0.4.dist-info
I: python3-ping3: package-contains-documentation-outside-usr-share-doc [usr/lib/python3.12/dist-packages/ping3-4.0.4.dist-info/top_level.txt]
-----

I think that this was supposed to be not happening via the next
changelog:
https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/debian/changelog?ref_type=heads#L20

fix:
https://salsa.debian.org/python-team/tools/dh-python/-/commit/c4bfdac892371c7fc3c1cc6a4c28e21b2dd384d9

I'm not familiar with dh_python3 internals at all.

Has anyone had the same problem?

Is it a bug in dh_python3, or should I do something else in the package
that I'm packaging to avoid it? (this might be a red herring of
something else that I've missed!).

Thanks very much,

-- 
Carles Pina i Estany
https://carles.pina.cat

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-25 01:30 +0100
  Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? stefanor@debian.org - 2024-02-25 02:40 +0100
    Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-26 00:40 +0100
      Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Carles Pina i Estany <carles@pina.cat> - 2024-02-26 01:10 +0100
        Re: dh_python3: file in /usr/lib/python3.12/dist-packages ? Stefano Rivera <stefanor@debian.org> - 2024-02-27 18:00 +0100

csiph-web