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
signature.asc
Description: PGP signature