Control: tags -1 patch
Hello,
It seems that .dist-info and .egg-info are always ignored for this
warning anyway. However dist-info should contain
$ cat -n lib/Lintian/Screen/Python/Egg/Metadata.pm
...
35 return 1
36 if $item->dirname =~ m{ [^/] [.] dist-info / $}x
37 && defined $item->parent_dir->child('METADATA')
38 && defined $item->parent_dir->child('WHEEL')
39 && defined $item->parent_dir->child('RECORD');
Now, your packages seems to be missing "RECORD" file in .dist-info due
to which this tag is again shown.
$ debc | grep -E '(WHEEL|RECORD|METADATA)'
-rw-r--r-- root/root 4575 2023-06-23 05:30 ./usr/lib/python3/dist-packages/bytecode-0.14.2.dist-info/METADATA
-rw-r--r-- root/root 92 2023-06-23 05:30 ./usr/lib/python3/dist-packages/bytecode-0.14.2.dist-info/WHEEL
On digging into dh-python changelog, I see the entry:
* Remove RECORD files from dist-info, these are incompatible with
multi-arch.
Then, I think it makes sense to remove this check from lintian as well.
I've anyway opened an MR to fix this:
https://salsa.debian.org/lintian/lintian/-/merge_requests/482
Best,
Nilesh
Attachment:
signature.asc
Description: PGP signature