Dear Sandro,

On Fri, 3 Dec 2021 11:49:52 -0500 Sandro Tosi <mo...@debian.org> wrote:
control: severity -1 normal

> > 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.

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

could it make sense to use something like the following?

Depends: python3-pil.imagetk | python3-gi | python3-gi-cairo | python3-gobject | python3-pyqt5


kind regards
--
Antonio Valentino

Reply via email to