Control: severity -1 serious

Policy states:

"
 Every package must specify the dependency information about other
 packages that are required for the first to work correctly.
"

python3-matplotlib violates this "must" directive making serious the appropriate severity.

On Fri, 3 Dec 2021 11:49:52 -0500 Sandro Tosi <[email protected]> wrote:
> > This is not a bug in cartopy, matplotlib tries to use ImageTk but the
> > package is not installed.
> >
> > python3-matplotlib only Recommends python3-pil.imagetk, this should be a
> > Depends.
>
> This issue is still present in matplotlib (3.5.0-2) and affects several
> packages. These should not have to add python3-pil.imagetk to their
> build dependencies because matplotlib does not pull it in.

this is done on purpose, so that people can switch backend and remove
the underlying package without causing apt to want to remove also
python3-matplotlib.

All the backend packages are in Recommends for a reason.

And that's a problem, because none of them get installed on the buildds via the python3-matplotlib dependencies.

If you need a different backend during build, please set the backend
rcparams accordingly during your package build.

Installing python3-matplotlib should get a working backend installed.

python3-pil.imagetk is required for the default TkAgg backend, and hence should be pulled in via the dependencies.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to