Source: python-caja
Version: 1.22.1-2
Severity: minor
User: pkg-gnome-maintain...@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.

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. However, it
appears to build successfully even if python-gi is missing - perhaps
because it doesn't have any build-time tests, so if importing 'gi' doesn't
actually work, that's never detected.

If your package requires a Python 2 version of the gi module at build
time now or in the future, 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, which would make it similar to
python-dbus-dev.

If your package does not require a Python 2 version of the gi module at
build time and you don't think it is likely to do so in future, you can
just close this bug. Similarly, if you drop Python 2 support in unstable
(I see you have a Python-3-only version in experimental already), you
can close this bug in that upload.

Thanks,
    smcv

Reply via email to