Your message dated Fri, 21 Jan 2022 21:18:46 +0000
with message-id <e1nb1j0-0006cz...@fasolo.debian.org>
and subject line Bug#1002823: fixed in diskcache 5.4.0-1
has caused the Debian Bug report #1002823,
regarding python3-diskcache: Should likely not ship 
/usr/lib/python3/dist-packages/docs/conf.py ("trying to overwrite 
'/usr/lib/python3/dist-packages/docs/conf.py', which is also in package 
python3-gitlab 1:2.10.0-1")
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 ow...@bugs.debian.org
immediately.)


-- 
1002823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-gitlab
Version: 1:2.10.0-1
Severity: serious
Control: clone -1 -2
Control: clone -1 -3
Control: reassign -2 python3-diskcache 5.2.1-2
Control: retitle -2 python3-diskcache: Should likely not ship 
/usr/lib/python3/dist-packages/docs/conf.py ("trying to overwrite 
'/usr/lib/python3/dist-packages/docs/conf.py', which is also in package 
python3-gitlab 1:2.10.0-1")
Control: severity -3 wishlist
Control: reassign -3 lintian
Control: retitle -3 lintian: Should warn about packages installing _any_ file  
directly under /usr/lib/python3/dist-packages/docs/ and similar locations

python3-gitlab 1:2.10.0-1 as well as python3-diskcache 5.2.1-2 both ship
/usr/lib/python3/dist-packages/docs/conf.py which is a serious bug
alone:

Unpacking python3-gitlab (1:2.10.1-1) over (1:2.10.0-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/python3-gitlab_1%3a2.10.1-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/python3/dist-packages/docs/conf.py', which is 
also in package python3-diskcache 5.2.1-2
Errors were encountered while processing:
 /var/cache/apt/archives/python3-gitlab_1%3a2.10.1-1_all.deb


For python3-diskcache, it should very likely not install these files at
all:

/usr/lib/python3/dist-packages/docs/Makefile
/usr/lib/python3/dist-packages/docs/api.rst
/usr/lib/python3/dist-packages/docs/cache-benchmarks.rst
/usr/lib/python3/dist-packages/docs/case-study-landing-page-caching.rst
/usr/lib/python3/dist-packages/docs/case-study-web-crawler.rst
/usr/lib/python3/dist-packages/docs/conf.py
/usr/lib/python3/dist-packages/docs/development.rst
/usr/lib/python3/dist-packages/docs/djangocache-benchmarks.rst
/usr/lib/python3/dist-packages/docs/index.rst
/usr/lib/python3/dist-packages/docs/make.bat
/usr/lib/python3/dist-packages/docs/tutorial.rst

And these files are probably edgy:

/usr/lib/python3/dist-packages/docs/sf-python-2017-meetup-talk.rst (clearly 
belongs to /usr/share/doc/python3-diskcache/)
/usr/lib/python3/dist-packages/docs/_static/core-p1-delete.png
/usr/lib/python3/dist-packages/docs/_static/core-p1-get.png
/usr/lib/python3/dist-packages/docs/_static/core-p1-set.png
/usr/lib/python3/dist-packages/docs/_static/core-p8-delete.png
/usr/lib/python3/dist-packages/docs/_static/core-p8-get.png
/usr/lib/python3/dist-packages/docs/_static/core-p8-set.png
/usr/lib/python3/dist-packages/docs/_static/custom.css
/usr/lib/python3/dist-packages/docs/_static/djangocache-delete.png
/usr/lib/python3/dist-packages/docs/_static/djangocache-get.png
/usr/lib/python3/dist-packages/docs/_static/djangocache-set.png
/usr/lib/python3/dist-packages/docs/_static/early-recomputation-03.png
/usr/lib/python3/dist-packages/docs/_static/early-recomputation-05.png
/usr/lib/python3/dist-packages/docs/_static/early-recomputation.png
/usr/lib/python3/dist-packages/docs/_static/gj-logo.png
/usr/lib/python3/dist-packages/docs/_static/no-caching.png
/usr/lib/python3/dist-packages/docs/_static/synchronized-locking.png
/usr/lib/python3/dist-packages/docs/_static/traditional-caching.png
/usr/lib/python3/dist-packages/docs/_templates/gumroad.html


For python3-gitlab, it should very likely not install these files at
all:

python3-gitlab: /usr/lib/python3/dist-packages/docs/__init__.py
python3-gitlab: /usr/lib/python3/dist-packages/docs/conf.py
python3-gitlab: /usr/lib/python3/dist-packages/docs/ext/__init__.py
python3-gitlab: /usr/lib/python3/dist-packages/docs/ext/docstrings.py


But I suspect that no package at all should ship a file in such a
generic location. So on the one hand not filing these issues against
"python3-gitlab _OR_ python3-diskcache" but against "python3-gitlab
_AND_ python3-diskcache".


And I'm filing this a wishlist bug against lintian as well.

I'd say any file …

* directly in /usr/lib/python3/dist-packages/docs/ should cause at least
  a warning or even an error.

* in a subdirectory of /usr/lib/python3/dist-packages/docs/ which is
  starting with an underscore ("_") should probably get a warning or at
  least a pedantic warning.

* And maybe for shipping any file in
  /usr/lib/python3/dist-packages/docs/ext/ as well.

* And according to #947264, #998820 and #973627 maybe also
  /usr/lib/python3/dist-packages/examples/,
  /usr/lib/python3/dist-packages/scripts/ and
  /usr/lib/python3/dist-packages/benchmarks/.

This likely is an expansion of the what
python-module-has-overly-generic-name already reports.

python-module-has-overly-generic-name is part of the
data/archive/auto-rejection.yaml and since both packages,
python3-diskcache as well as python3-gitlab seem to have no lintian
overrides, the tag seems not to have been triggered by these packages.

Then again, a local lintian run does not confirm this, at least not for
python3-gitlab:

$ lintian python3-gitlab_2.10.1-1_all.deb python3-diskcache_5.2.1-2_all.deb
E: python3-gitlab: python-module-has-overly-generic-name 
usr/lib/python3/dist-packages/docs/__init__.py (docs)
I: python3-diskcache: […]

So I wonder how python3-gitlab could get into the archive. Or is
data/archive/auto-rejection.yaml not in sync with the list that
ftp-masters actually use for lintian-based rejections? (JFTR: I checked
git HEAD of lintian, i.e. commit b996cbba, not the actual package in
unstable.)

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), 
(500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 
'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-trunk-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages python3-gitlab depends on:
ii  python3                    3.9.8-1
ii  python3-requests           2.25.1+dfsg-2
ii  python3-requests-toolbelt  0.9.1-1

python3-gitlab recommends no packages.

Versions of packages python3-gitlab suggests:
pn  python-gitlab-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: diskcache
Source-Version: 5.4.0-1
Done: Andreas Tille <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
diskcache, 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 1002...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated diskcache 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 21 Jan 2022 21:49:30 +0100
Source: diskcache
Architecture: source
Version: 5.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 997505 1002823
Changes:
 diskcache (5.4.0-1) unstable; urgency=medium
 .
   * New upstream version
     Closes: #997505
   * Fix watchfile to detect new versions on github
   * Standards-Version: 4.6.0 (routine-update)
   * Enable django>=2.2
   * Build-Depends: python3-typing-extensions
   * Add missing build dependency on dh addon.
   * Call correct executable pytest-3
   * Do not provide docs in /usr/lib/python3/dist-packages
     Closes: #1002823
Checksums-Sha1:
 8466fa65720179992c0397e33e74169f63451a84 2305 diskcache_5.4.0-1.dsc
 722ae86954511343c501e5ba9fe5e3ec3e36bf9c 653968 diskcache_5.4.0.orig.tar.gz
 ca79180b7659d0376013c262f9876f6c249c1323 2600 diskcache_5.4.0-1.debian.tar.xz
 19d24f2470e5f1c49146281fa3724e6247bac49a 8160 diskcache_5.4.0-1_amd64.buildinfo
Checksums-Sha256:
 a7e75792415c3a79fda56c0cb65bf841d1373dbc02ff96f2aaf3a9dadf8d1519 2305 
diskcache_5.4.0-1.dsc
 5cdfcb16c9773584e8dca21c23c622e3c787721b1b09635a25e4f00c28073b2a 653968 
diskcache_5.4.0.orig.tar.gz
 d7970f34056d7d8e435819f6e8f233038f7b8753d887f5cb7ca3c8498cba836e 2600 
diskcache_5.4.0-1.debian.tar.xz
 5f97c4d4127c7785db6ee79402b9059c3077911d63ec5d95a2e003c99409f133 8160 
diskcache_5.4.0-1_amd64.buildinfo
Files:
 f54a99c335a3050f493fa6300f782b3b 2305 python optional diskcache_5.4.0-1.dsc
 1423b4f98c52421f5ae6bd6a8094ace3 653968 python optional 
diskcache_5.4.0.orig.tar.gz
 bdbd4c73ef5fc4a24e048a4aad1a66bf 2600 python optional 
diskcache_5.4.0-1.debian.tar.xz
 81d7e41c0af480ab6e08d9737b05fac2 8160 python optional 
diskcache_5.4.0-1_amd64.buildinfo

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmHrHRYRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEVsBAAk7bkwi65uHHTXU1TTIgralnu7w0gsWaY
2wujry68oWsD7F9rRAq+zUL6NlGw/nzuFphvZowOIqwQ/CI6f+qyebTPSnvHD8UA
4KmlDfyc6DC+77Ba+bSxLRO/n2vvyJ9QrtN2TXWv5qdd1zVFp1T6fXVWyYpo2BQ3
dGq9MqILlaF3h8yX9nSEw8icH3qI809tIyH/4xcDzQ7buqS/W7dDiG0++RAMpOpP
sj51w344owFrNhG+Vz75KNWHtAMASDCFunx/KkflJs53OcPZM6rvh+DEvk7yedIh
PtiAFE4RK1LArvTTWLSW8tD4UNCFTnht79icA2Jx5K4eedTRebVBm1J9Cqyh736z
7NgChBatylvmuCo5epXmtNdo864mtScPKX1DfIkGWuiKlLenfi4rpxApKr2Fk8ld
jECWdx2zfOJg8AQrpgBKXfuQJBLUL8HM968CE6HJPr4sJKoQhNJgjojs3AVv3zHO
qtToreXMJ5dglVyR2Db1v8LdAiY7PxtT1vcxSSg+5VWeAZEii9p3ydEBZeoOnm4r
ksYYszSHOfP5FW4XIv5PXwFSNCZ/yunwnrhvXzzSyPwd9gX0T7TgbsuW3w/Qswby
sRbh2mWJleV3wUr9hpeJ12zoWpOAg1jCqDiic6dpOw5vkvz94Lf2am9dW7VZCPGA
R1iJNKN19xM=
=uxNF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to