[Python-apps-team] Bug#947251: mypaint: Please build-depend on python-gi in addition to python-gi-dev
Simon McVittie
smcv at debian.org
Mon Dec 23 15:57:14 GMT 2019
Source: mypaint
Version: 1.2.0-5
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.
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. With the proposed
changes to pygobject, mypaint fails to build from source:
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Max-RSS: ~74000 kbytes
MPLCONFIGDIR=`mktemp -d` python tests/test_mypaintlib.py
Traceback (most recent call last):
File "tests/test_mypaintlib.py", line 11, in <module>
from lib import mypaintlib, tiledsurface, brush, document, command, helpers
File "../lib/tiledsurface.py", line 21, in <module>
from gettext import gettext as _
File "../lib/gettext.py", line 30, in <module>
from gi.repository import GLib
ImportError: No module named gi.repository
If mypaint continues to use Python 2, please add python-gi to its
Build-Depends. Alternatively, if mypaint moves to Python 3 (#937099),
you can close this bug in that upload.
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 Python-apps-team
mailing list