Your message dated Mon, 13 Nov 2017 17:09:19 +0000
with message-id <20171113170919.3vghldm2qfg67...@perpetual.pseudorandom.co.uk>
and subject line Re: Bug#881614: ImportError: No module named '_dbus_bindings'
has caused the Debian Bug report #881614,
regarding ImportError: No module named '_dbus_bindings'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
881614: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881614
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-dbus
Version: 1.2.4-1+b4
Severity: normal

With both python 3.6.3-1 and 3.5.4-4 installed:

python3.6 -c "import dbus"   # works

python3.5 -c "import dbus"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/dbus/__init__.py", line 77, in <module>
    import dbus.types as types
  File "/usr/lib/python3/dist-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
ImportError: No module named '_dbus_bindings'

Perhaps a "Breaks" should be introduced temporarily during the
transition?

Similar/related bugs: #816156 #739295 #707408 #881171

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-dbus depends on:
ii  libc6             2.24-17
ii  libdbus-1-3       1.12.0-1
ii  libdbus-glib-1-2  0.108-3
ii  libglib2.0-0      2.54.2-1
ii  python3           3.6.3-2

Versions of packages python3-dbus recommends:
ii  python3-gi  3.24.1-6

Versions of packages python3-dbus suggests:
pn  python-dbus-doc   <none>
pn  python3-dbus-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
On Mon, 13 Nov 2017 at 13:48:35 +0000, Federico Ceratto wrote:
> python3.5 -c "import dbus"
...
> ImportError: No module named '_dbus_bindings'

python3.5 is no longer considered to be a supported Python version
(reference: /usr/share/doc/python3/changelog.Debian.gz) so it is no
longer guaranteed to have any particular useful behaviour.

This is a property of how Python libraries in Debian are packaged,
not something that is specific to how python3-dbus is packaged, so it
will not be addressed by changes to python3-dbus (unless the Python
packaging policy changes). If you have a plan for how to do it better,
please suggest it to the maintainers of the Python policy, not to the
maintainers of individual extensions.

> Perhaps a "Breaks" should be introduced temporarily during the
> transition?

If we added Breaks to the source code of every package that contains
CPython "extensions", we'd have to do source uploads of all 529 such
packages[1] during every Python-version transition, not just binary-only
rebuilds on the buildds. That just doesn't scale.

If you have an idea for how suitable Breaks could be added automatically
by dh-python3, please talk to its maintainers.

Regards,
    smcv

[1] according to: apt-file -lx search '^/usr/lib/python3/dist-packages/.*.so$' 
| sort -u | wc -l

--- End Message ---

Reply via email to