[Pkg-utopia-maintainers] Bug#945034: avahi: Please build-depend on python-gi in addition to python-gi-dev

Simon McVittie smcv at debian.org
Mon Nov 18 18:06:38 GMT 2019


Source: avahi
Version: 0.7-4
Severity: important
User: pkg-gnome-maintainers at lists.alioth.debian.org
Usertags: python-gi-dev-945022
Control: block 945022 by -1

Please see https://salsa.debian.org/gnome-team/pygobject/merge_requests/2
for the latest information on this transition.

python-gi-dev contains development files (pkg-config metadata and header
file) corresponding to both python-gi and python3-gi.

At the moment, python-gi-dev Depends on both python-gi and python3-gi.
The GNOME team would like to drop the python-gi dependency, to make the
status of Python 2 removal easier to track. A version with this change
might become available in experimental soon.

The package receiving this bug is one of a few packages that build-depend
on python-gi-dev and appear to build Python 2 bindings. If our analysis is
correct, these packages will need to add a build-dependency on python-gi
in future.

If your package requires a Python 2 version of the gi module at build time
(which it appears it does), please add python-gi to its Build-Depends.
If it also requires a Python 3 version of the gi module, it is probably a
good idea to add an explicit Build-Depends on python3-gi as well - this
will ensure that it doesn't need changes if python-gi-dev subsequently
also drops its python3-gi dependency, similar to python-dbus-dev.

If your package does not require a Python 2 version of the gi module at
build time, you can just close this bug.

This bug's severity will be increased to serious if it is still open
when python-gi-dev's dependency on python-gi is removed in unstable.

Thanks,
    smcv



More information about the Pkg-utopia-maintainers mailing list