[MIR] objgraph

Bug #2047821 reported by Christian Ehrhardt 
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cherrypy3 (Debian)
Fix Released
Unknown
cherrypy3 (Ubuntu)
Fix Released
Undecided
Unassigned
objgraph (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

This is a new dependency from src:cherrypy3
It would also pull in more graphviz, xdot, ann, gts.

AFAICS this is mostly used in testing as well as in a very rare use cases in cherrypy/lib/gctools.py

Even [1] does not talk about it.
What it does is that it allows to render visual representations of the object relations.

The cherrypy/lib/gctools.py is AFAICS only used in test environments.
Which could depend on objgraph themselve if they need that output.

I searched the web and the use-case for this is almost only theoretical, e.g. for a dev against cherrypy3 that wants custom tests. This again - like the existing tests - can pull that in itself.

Given what it pulls in (a lot) compared to the use case (rare and only for tests) as well as working fine form universe I'd suggest changing this "recommends" to a "suggests" in d/control.

[1]: https://docs.cherrypy.dev/en/latest/pkg/cherrypy.lib.gctools.html

Related branches

tags: added: server-todo
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Marking incomplete (as it isn't meant to be reviewed), but subscribing ubuntu-mir so that the tooling finds it.

Changed in cherrypy3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I couldn't find much use case for this to pull in python3-objgraph and then through further recommends even all of graphviz and xdot in every place that cherryp3 is used.

As initially assumed I then proposed a change to reduce it to a suggest, overnight I got it reviewed and now uploaded this.

But while Debian does not have the main/universe component issue I still think it is an overloaded dependency there as well, just dragging in things needlessly.
Keeping it as a suggests seems fine to me, but anything stronger seems too much.

I'll open a bug for discussion on the Debian side, if they agree this can help Debian as well and the package can be a sync again. If not then the Ubuntu delta should be one that is easily maintained.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cherrypy3 - 18.9.0-1ubuntu1

---------------
cherrypy3 (18.9.0-1ubuntu1) noble; urgency=medium

  * d/control: reduce the optional universe dependency python3-objgraph
    to a suggests (LP: #2047821)

 -- Christian Ehrhardt <email address hidden> Thu, 04 Jan 2024 13:25:12 +0100

Changed in cherrypy3 (Ubuntu):
status: Incomplete → Fix Released
Changed in cherrypy3 (Debian):
status: Unknown → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This was also accepted in Debian by now and 18.9.0-2 is currently looking good in proposed migration (just a few more tests).

Bryce Harrington (bryce)
Changed in objgraph (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.