[Python-modules-team] Bug#943582: python-twisted: twist/twistd fails, missing dependency on PyHamcrest

Brian Warner warner-debbug3 at lothar.com
Sat Oct 26 21:24:49 BST 2019


Package: python-twisted
Version: 18.9.0-4
Severity: important

Howdy.. I recently updated 'python-twisted', and at the next reboot,
some servers using 'twistd' failed to start. I reproduced the problem
with a simple invocation of the /usr/bin/twist command:

$ twist
Traceback (most recent call last):
  File "/usr/bin/twist", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3250, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3234, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 3263, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PyHamcrest>=1.9.0' distribution
was not found and is required by Twisted

I know the PyHamcrest dependency was adjusted in the recent release,
perhaps something got broken as a side-effect? A different sid box
with python-twisted-18.9.0-3 (and also no python-hamcrest) still works.

thanks,
 -Brian


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

Kernel: Linux 5.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-twisted depends on:
ii  python-twisted-core  18.9.0-4
ii  python2              2.7.17-1

python-twisted recommends no packages.

python-twisted suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list