Your message dated Sat, 12 Sep 2026 17:49:39 +0000
with message-id <[email protected]>
and subject line Bug#1147187: fixed in lintian 2.141.0
has caused the Debian Bug report #1147187,
regarding lintian: Regression in ignoring python module dist-info/* files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1147187: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147187
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lintian
Version: 2.140.0
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

lintian looks for documentation outside /usr/share/doc and emits the
package-contains-documentation-outside-usr-share-doc tag if it finds
some. Of course there are some files that might look like documentation
but are actually in the right place and so should not cause this tag to
be emitted.

One such set of files are in the `dist-info` directory of a python
module, where various pieces of metadata that represent how the module
was built, its dependencies (for the Python world) and licence data are
stored. For example:

/usr/lib/python3/dist-packages/python_debian-1.1.1.dist-info
/usr/lib/python3/dist-packages/python_debian-1.1.1.dist-info/INSTALLER
/usr/lib/python3/dist-packages/python_debian-1.1.1.dist-info/METADATA
/usr/lib/python3/dist-packages/python_debian-1.1.1.dist-info/top_level.txt

However, lintian has started flagging these files with
package-contains-documentation-outside-usr-share-doc.

I: python3-debian: package-contains-documentation-outside-usr-share-doc 
[usr/lib/python3/dist-packages/python_debian-1.1.1.dist-info/top_level.txt]
N:
N:   This package ships a documentation file outside /usr/share/doc
N:   Documentation files are normally installed inside /usr/share/doc.
N:
N:   If this file doesn't describe the contents or purpose of the directory it
N:   is in, please consider moving this file to /usr/share/doc/ or maybe even
N:   removing it. If this file does describe the contents or purpose of the
N:   directory it is in, please add a lintian override.
N:
N:   Visibility: info
N:   Show-Always: no
N:   Check: documentation
N:
N:   Screen: python/egg/metadata
N:     Advocates: "Scott Kitterman" <[email protected]>
N:     Reason: The folders XXX.dist-info/ and XXX.egg-info/ hold metadata for
N:             Python modules. Those files are not documentation even though
N:             some of their names carry the .txt file extension.
N:
N:             Python modules can be both public and private.
N:
N:             Read more in
N:             
https://www.python.org/dev/peps/pep-0427/#the-dist-info-directory,
N:             https://www.python.org/dev/peps/pep-0376/#id16,
N:             https://www.python.org/dev/peps/pep-0610/,
N:             https://www.python.org/dev/peps/pep-0639/,
N:             https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html,
N:             and Bug#1003913.

(I leave the details of the intended streen in the output.)

This is a regression - up until recently, lintian did not complain about
these text files within the Python module definition.

thanks for your work on lintian!
Stuart

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.141.0
Done: Louis-Philippe Véronneau <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Louis-Philippe Véronneau <[email protected]> (supplier of updated lintian 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Sep 2026 12:38:47 -0400
Source: lintian
Architecture: source
Version: 2.141.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <[email protected]>
Changed-By: Louis-Philippe Véronneau <[email protected]>
Closes: 1017064 1145776 1147142 1147187 1147483
Changes:
 lintian (2.141.0) unstable; urgency=medium
 .
   [ Louis-Philippe Véronneau ]
   * Remove deprecated XS-Python-Version and X-Python-Version fields
 .
   [ Nilesh Patra ]
   * Lintian::Screen::Python::Egg::Metadata - Do not check for `WHEEL` in
     `dist-info` (Closes: #1147187)
   * Lintian::Check::Documentation - Drop `dist-info` related files from
     `NOT_DOCUMENTATION_FILE_REGEXES` and fix condition for exclusion of these.
     Thanks to Lucas Nussbaum <[email protected]>
   * Rename Golang/ImportPath.pm -> Golang/ModulePath.pm to incorporate for
     more module path related checks
   * new tags: "go-library-package-does-not-include-version" and
     "go-source-package-does-not-include-version" (Closes: #1147142)
   * new tag: deprecated-debian-control-field (Closes: #1145776)
   * Change severity level of `no-dep5-copyright` to `warning` (Closes:
     #1147483)
   * Unknown.pm, data: Add XB- prefixes for binary stanza fields in `data/` and
     remove XB-* prefix in known binary fields checking for unknown fields
     (Closes: #1017064)
   * tags/tests/checks: Minor fixes in URLs (See: #1146466)
 .
   [ Scott Talbert ]
   * Add more GHC path exclusions to RPATH check
 .
   [ Lucas Nussbaum ]
   * Trim spelling text with builtin::trim
   * Remove unused ELF section header fields
   * Drop bignum for the ELF section Size decoding
 .
   [ Sylvestre Ledru ]
   * Precompile the provider regexes for Javascript/Embedded.pm, Php/Embedded.pm
     and Php/Pear/Embedded.pm.
   * Documentation.pm: match the file name lists as compiled regexes
   * Spelling.pm: gate the multi-word corrections on a single regex
Checksums-Sha1:
 0aa6b8a008fe111be27fd9d8be5185ff4d21af5e 3694 lintian_2.141.0.dsc
 c05d05f10626fed4eedb8397e725faf0170f2634 2079044 lintian_2.141.0.tar.xz
 3b7d95797cf3b473af90b48806bd7456dc0a831d 21231 lintian_2.141.0_amd64.buildinfo
Checksums-Sha256:
 a907ec9a63f3d67ac6f83c1f90e28242a4169e428f08c233bdc1c6eaf6066d2c 3694 
lintian_2.141.0.dsc
 c92ae6ca1e42bc9800292e0e108433c769f89c524531b9acb63603d1d4b134b5 2079044 
lintian_2.141.0.tar.xz
 4e9316668b4562dffeb1e9d89d2a8323f64ef9bde349f75e575042063d970194 21231 
lintian_2.141.0_amd64.buildinfo
Files:
 bbe1099f86ce349acb30e38f30d5ce08 3694 devel optional lintian_2.141.0.dsc
 e3b56954d0f301cda8e4607632fbde66 2079044 devel optional lintian_2.141.0.tar.xz
 581d1dfb7b1fa4eae49858d67a226340 21231 devel optional 
lintian_2.141.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTKp0AHB6gWsCAvw830JXpQshz6hQUCaqWK9AAKCRD0JXpQshz6
hcWUAP9LutZw8e4cVmoLknNwFW2i69W9Bb9dBB2Y2M7jANSC9AEAzOaoVFpHTywN
VgRIiUWHaz0p8oZvKWYA6sRJH+wioQc=
=G5Ev
-----END PGP SIGNATURE-----

Attachment: pgpVXGJp8h91C.pgp
Description: PGP signature


--- End Message ---

Reply via email to