#995784 python3-gi: Please add "recommends" on "python3-cairo"

Package:
python3-gi
Source:
pygobject
Description:
Python 3 bindings for gobject-introspection libraries
Submitter:
Mitchell Hentges
Date:
2022-06-09 10:54:03 UTC
Severity:
normal
#995784#5
Date:
2021-10-05 16:03:13 UTC
From:
To:
The associated "PyGObject" <https://pypi.org/project/PyGObject/3.38.0/>
Python package depends on "pycairo" <https://pypi.org/project/pycairo/>.
However, Debian's "python3-gi" package doesn't depend on or recommend the
"python3-cairo" object. So, after installing "python3-gi", the Python 3
environment is incomplete. This can be verified by running "python3 -m pip
check":

I believe that the solution here is to add a "recommends" link on
"python3-gi" to "python3-cairo".

#995784#10
Date:
2022-06-09 10:44:55 UTC
From:
To:
To add, this is not just to make pip happy, key functionality in GTK/GDK
is broken when python3-cairo isn't installed.

A simple example that fails:

Gives you:

Regards