[Python-modules-team] Bug#793024: python-docker: Requires websocket-client >= 0.32

Felipe Sateler fsateler at debian.org
Mon Jul 20 14:49:52 UTC 2015

Package: python-docker
Version: 1.3.0-1
Severity: serious
Justification: renders package unusable


The new 1.3.0 has a requirements.txt with websocket-client >= 0.32.0,
which is not satisfiable in debian. Example trace from docker-compose:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3074, in <module>
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3060, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3087, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 647, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 660, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 838, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (websocket-client 0.18.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('websocket-client>=0.32.0'), set(['docker-py']))

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

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

Versions of packages python-docker depends on:
ii  python-requests   2.7.0-3
ii  python-six        1.9.0-3
ii  python-websocket  0.18.0-2
pn  python:any        <none>

python-docker recommends no packages.

python-docker suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list