Bug#1015006: gir1.2-notify-0.7: Upgrade to version 0.8.0-1 breaks at least two packages that use Python

Simon McVittie smcv at debian.org
Sat Jul 16 10:47:34 BST 2022


Control: severity -1 serious
Control: merge 1015008 -1
Control: affects -1 + guake mate-tweak

On Fri, 15 Jul 2022 at 23:18:14 -0300, Ernesto Domato wrote:
> Hi, I have two packages (guake and mate-tweak) which uses Python and after
> upgrading gir1.2-notify-0.7 from version 0.7.12-1 to 0.8.0-1 breaks those
> packages.
...
>     gi.require_version("Notify", "0.7")
>   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in
> require_version
>     raise ValueError('Namespace %s not available for version %s' %
> ValueError: Namespace Notify not available for version 0.7

gir1.2-notify-0.7 now contains Notify-0.8.typelib. Whether the API version
increment was intentional or not, this is wrongly packaged: either the
name of the GIR module should have continued to be Notify-0.7, or the
binary package should have been renamed to gir1.2-notify-0.8 (which would
require dependent packages to be updated to use API version 0.8 instead).

(Reference for maintainers:
https://salsa.debian.org/gnome-team/gobject-introspection/-/blob/debian/master/debian/policy.txt)

Jeremy Bicha has already contacted upstream about whether the API version
bump was intentional (to reflect incompatible changes to the introspected
API, in which case the package needs to be renamed) or not (in which case
the typelib version needs to change back to 0.7).

    smcv



More information about the pkg-gnome-maintainers mailing list