Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Carles Pina i Estany 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: 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: 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: archive/latest/21468 List-ID: List-URL: 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: Xref: csiph.com linux.debian.maint.python:15491 --ytcbggWz4wm0UGgS Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Feb 2024 00:14:46 +0000 From: Carles Pina i Estany To: debian-python@lists.debian.org Cc: stefanor@debian.org Subject: dh_python3: file in /usr/lib/python3.12/dist-packages ? 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-p= ackages/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/c= hangelog?ref_type=3Dheads#L20 fix: https://salsa.debian.org/python-team/tools/dh-python/-/commit/c4bfdac892371= c7fc3c1cc6a4c28e21b2dd384d9 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, --=20 Carles Pina i Estany https://carles.pina.cat --ytcbggWz4wm0UGgS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEth6/Zob9uGYomaJ+qAKIT2ClX4EFAmXahnYACgkQqAKIT2Cl X4FJIw/+Jw9eGBQxOtS5j4KOG+es1IaJ6llOQ5pJXkwMGXOOo90f6OFyKULCVKAT hPVleoDOTeVNfhqzDqkNQPVp28/zT/f+xkrN4GzDgEWuLxRxrKzh2Z2+1mTPU4zv QGmwQ1ZL5US18GX5nNQanwWCV/6wwLStzDtvTZ/DAKMiZYj/EF0jAQ/5kqe0S970 eBdOYIwL0OfHwNG2viN2xEvMCkU6wzx/UQs4fruCmRKUUWTK2AusOZSunF7C7mhf nZyCEMG9Zo+Tpb1kIGa+Rd3m2IboVvupLirVzZXINFPorlXl1Y9dhN1B3mqmK7h7 QTe6p6cxg2aC+x0FvkLiLS4H6qrdBcKjY2uERdkHOmXzpU5l/kH1rB3kn68SZvui rb7u1kjEubJsVQFfCex1fOhhkysBga+cp0oeWJTJ1O+hHRwt0T8NbxiLTGVC+a7M dfaoySOvRFfOOJIgPONAfJXnIudzTxg8LFPGe1QuX6Ym+/18YW6IjT0mq/xvFZwf OiQCQZgL8ZvS9K9RxB1fQT3g/KFDN+8V/TpKsYxZYIZEIz9gDfIpF3T78sHCXWgk xJjC7VYu735GTor793qImlKROvj0uCnBgHY17TV9m/zCVxnGQZZDcCKYlLL/loyo tufIT5k01P2NoJbIWMLl84Rf2CS9x83VIRwERB4lnrC7opy9P0M= =MC8C -----END PGP SIGNATURE----- --ytcbggWz4wm0UGgS--