Bug#1060041: Is the python3-objgraph dependency too much

2024-01-05 Thread Jeroen Ploemen
> Package: cherrypy3

> - Or if not - would you be ok to also reduce it to a Suggests as
> I've done in Ubuntu [4]?

Downgrading the dep to suggested is fine with me.


pgpG6jQ8lFih7.pgp
Description: OpenPGP digital signature


Bug#1060041: Is the python3-objgraph dependency too much

2024-01-04 Thread Christian Ehrhardt
Package: cherrypy3
Version: 18.9.0-1
X-Debbugs-CC: Jeroen Ploemen 

Hi,
I'm clear that the Ubuntu issues around universe/main dependencies [1]
are not important to Debian, but that kind of checks at least made me
spot the impact of the recently added dependency to python3-objgraph
from cherryp3.

  cherrypy3 (18.9.0-1) unstable; urgency=medium
...
* Control: add recommended dep on python3-objgraph, optional
import in
  cherrypy/lib/gctools.py.

I only can see it used for testing (and in that context it is
correctly pulled in by d/t/control already).
AFAICS upstream itself only depends on it for tests [2] and for
further comparison also in fedora [3] there is no such dependency.

It pulls quite much as it is not only python3-objgraph but then
through further recommends even all of graphviz and xdot - and then in
turn even more like gtk.
That pulled in every place that cherryp3 is used seems too much
especially for a seemingly mostly test-only dependency.

I compared the behavior on bullseye, bookworm and trixie containers if
this is really as much as it feels. Even bullseye to bookworm grew a
bit, but not that much.

# bullseye
root@d11:~# apt install python3-cherrypy3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates javascript-common libjs-jquery libjs-sphinxdoc
libjs-underscore libmpdec3 libpython3-stdlib libpython3.9-minimal
libpython3.9-stdlib libreadline8 libsqlite3-0 media-types openssl
python3
  python3-cffi-backend python3-cryptography python3-minimal
python3-openssl python3-pkg-resources python3-repoze.lru
python3-routes python3-simplejson python3-six python3-webob python3.9
python3.9-minimal
  readline-common
Suggested packages:
  apache2 | lighttpd | httpd python3-doc python3-tk python3-venv
python-cryptography-doc python3-cryptography-vectors
python-openssl-doc python3-openssl-dbg python3-setuptools
python3-paste python-webob-doc
  python3.9-venv python3.9-doc binutils binfmt-support readline-doc
The following NEW packages will be installed:
  ca-certificates javascript-common libjs-jquery libjs-sphinxdoc
libjs-underscore libmpdec3 libpython3-stdlib libpython3.9-minimal
libpython3.9-stdlib libreadline8 libsqlite3-0 media-types openssl
python3
  python3-cffi-backend python3-cherrypy3 python3-cryptography
python3-minimal python3-openssl python3-pkg-resources
python3-repoze.lru python3-routes python3-simplejson python3-six
python3-webob python3.9
  python3.9-minimal readline-common
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 8800 kB of archives.
After this operation, 30.7 MB of additional disk space will be used.

# bookworm
root@d12:~# apt install python3-cherrypy3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates javascript-common libjs-jquery libjs-sphinxdoc
libjs-underscore libnsl2 libpython3-stdlib libpython3.11-minimal
libpython3.11-stdlib libreadline8 libsqlite3-0 media-types openssl
python3
  python3-autocommand python3-cffi-backend python3-cheroot
python3-cryptography python3-inflect python3-jaraco.classes
python3-jaraco.collections python3-jaraco.context
python3-jaraco.functools
  python3-jaraco.text python3-minimal python3-more-itertools
python3-openssl python3-pkg-resources python3-portend
python3-repoze.lru python3-routes python3-simplejson python3-six
python3-tempora python3-tz
  python3-webob python3-zc.lockfile python3.11 python3.11-minimal
readline-common
Suggested packages:
  apache2 | lighttpd | httpd python3-doc python3-tk python3-venv
python-cryptography-doc python3-cryptography-vectors
python-openssl-doc python3-openssl-dbg python3-setuptools
python3-paste python-webob-doc
  python3.11-venv python3.11-doc binutils binfmt-support readline-doc
The following NEW packages will be installed:
  ca-certificates javascript-common libjs-jquery libjs-sphinxdoc
libjs-underscore libnsl2 libpython3-stdlib libpython3.11-minimal
libpython3.11-stdlib libreadline8 libsqlite3-0 media-types openssl
python3
  python3-autocommand python3-cffi-backend python3-cheroot
python3-cherrypy3 python3-cryptography python3-inflect
python3-jaraco.classes python3-jaraco.collections
python3-jaraco.context python3-jaraco.functools
  python3-jaraco.text python3-minimal python3-more-itertools
python3-openssl python3-pkg-resources python3-portend
python3-repoze.lru python3-routes python3-simplejson python3-six
python3-tempora python3-tz
  python3-webob python3-zc.lockfile python3.11 python3.11-minimal
readline-common
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.5 MB of archives.
After this operation, 36.8 MB of additional disk space will be used.

# trixie / sid
root@d13:~# apt install python3-cherrypy3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The