python3-gi doesn't depend on python3-cairo
Bug #1978098 reported by
Pierre Ossman (Cendio AB)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
There is a missing dependency that makes using GTK/GDK from Python a bit brittle.
GTK/GDK uses cairo for drawing, so having GTK/GDK means that cairo is available and can be used.
However, having the Python bindings for GTK/GDK currently doesn't guarantee that the Python bindings for cairo are installed. Hence, drawing functions can explode when Python GTK applications try to use them. In the Red Hat world, this dependency is on pygobject, hence I'm filing a bug to add the same thing here.
Upstream report for the same thing on Debian:
https:/
(also includes a simple example)
To post a comment you must log in.
Thank you for your bug report. It's a bit complicated though, python-gi isn't only used for gtk bindings nor graphical ones, so it seems the wrong place for the depends. Perhaps the gir binary for gtk should have it?