[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947248: python-caja: Please build-depend on python-gi in addition to python-gi-dev, or drop Python 2 support



Hi Simon,

On  Mo 23 Dez 2019 16:02:22 CET, Simon McVittie wrote:

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

I have just uploaded python-caja 1.23.0-1 to Debian unstable dropping Python2 support entirely. Can this considered to be resolved then?

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpFJqFbZ7tnD.pgp
Description: Digitale PGP-Signatur


Reply to: