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 ?

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 2024-02-25 01:30 +0100
Message-ID <IbayZ-cq1W-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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