[Python-modules-team] Bug#926414: python3-grapefruit: Can't load python3-grapefruit under python 3.7.3

Kjö Hansi Glaz kjo at herbesfolles.org
Thu Apr 4 18:58:00 BST 2019

Package: python3-grapefruit
Version: 0.1~a3+dfsg-6
Severity: important

bpython version 0.17.1 on top of Python 3.7.3 /usr/bin/python3
>>> import grapefruit
Traceback (most recent call last):
  File "<input>", line 1, in <module>
    import grapefruit
"/usr/lib/python3/dist-packages/bpython/curtsiesfrontend/repl.py", line
251, in load_module
    module = self.loader.load_module(name)
  File "/usr/lib/python3/dist-packages/grapefruit.py", line 22, in <module>
    from past.builtins import xrange
ModuleNotFoundError: No module named 'past'

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-grapefruit depends on:
ii  python3                3.7.3-1
ii  python3-pkg-resources  40.8.0-1

python3-grapefruit recommends no packages.

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

-- no debconf information

More information about the Python-modules-team mailing list