Package: mitmproxy
Version: 2.0.2-3
Severity: grave
Justification: renders package unusable

The package has unversioned dependencies like "python3-ruamel.yaml", and
versioned like python3-pyperclip (>= 1.5.22). However,
mitmproxy-2.0.2.egg-info/requires.txt has stricter versioning
requirements, like ruamel.yaml<0.14,>=0.13.2 and pyperclip<1.6,>=1.5.22.

Debian buster currently ships versions newer than what requires.txt
considers "too new", so mitmproxy doesn't start:

pkg_resources.ContextualVersionConflict: (ruamel.yaml 0.15.34 
(/usr/lib/python3/dist-packages), 
Requirement.parse('ruamel.yaml<0.14,>=0.13.2'), {'mitmproxy'})
pkg_resources.DistributionNotFound: The 'ruamel.yaml<0.14,>=0.13.2' 
distribution was not found and is required by mitmproxy

I downgraded python3-ruamel.yaml from 0.15.34-1 to 0.13.4-2+b1 (via 
snapshots.d.o)
and it failed again:
pkg_resources.ContextualVersionConflict: (pyperclip 1.6.0 
(/usr/lib/python3/dist-packages), Requirement.parse('pyperclip<1.6,>=1.5.22'), 
{'mitmproxy'})

After manually downgrading 5 deps I still couldn't get it to run and I gave up.

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

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

Versions of packages mitmproxy depends on:
ii  dpkg                      1.19.0.5
ii  fonts-font-awesome        4.7.0~dfsg-3
ii  python3                   3.6.4-1
ii  python3-blinker           1.4+dfsg1-0.1
ii  python3-brotli            1.0.2-3
ii  python3-certifi           2018.1.18-2
ii  python3-configargparse    0.11.0-1
ii  python3-construct         2.8.16-0.2
ii  python3-cryptography      2.1.4-1
ii  python3-cssutils          1.0.2-1
ii  python3-flask             0.12.2-3
ii  python3-h2                3.0.1-3
ii  python3-hpack             3.0.0-2
ii  python3-html2text         2018.1.9-1
ii  python3-hyperframe        5.1.0-1
ii  python3-jsbeautifier      1.6.4-6
ii  python3-kaitaistruct      0.7-1
ii  python3-lxml              4.1.0-1
ii  python3-openssl           17.5.0-1
ii  python3-passlib           1.7.1-1
ii  python3-pil               4.3.0-2
ii  python3-pyasn1            0.4.2-3
ii  python3-pyparsing         2.2.0+dfsg1-2
ii  python3-pyperclip         1.6.0-1
ii  python3-requests          2.18.4-2
ii  python3-ruamel.yaml       0.15.34-1
ii  python3-six               1.11.0-2
ii  python3-sortedcontainers  1.5.7-1
ii  python3-tornado           4.5.3-1
ii  python3-urwid             1.3.1-2+b2
ii  python3-watchdog          0.8.3-2

mitmproxy recommends no packages.

mitmproxy suggests no packages.

-- no debconf information

Reply via email to