tag 784303 + confirmed
block 784303 779035
thanks

Ouch. I've ITP'ed python-configargparse, and will follow up on the
python-tornado front.

In the meantime, the version in testing is the best fallback option.

Cheers,

--Seb

On May/04, Vagrant Cascadian wrote:
> Package: mitmproxy
> Version: 0.11.3-1
> Severity: serious
> Justification: Policy 3.5
> 
> Thanks for maintaining mitmproxy!
> 
> Unfortunately, it's uninstallable as python-configargparse is a
> dependency of mitmproxy, but is not yet available in the archive.
> 
> Even after manually building a local copy of python-cofigargparse, it
> fails to run:
> 
> Traceback (most recent call last):
>   File "/usr/bin/mitmproxy", line 2, in <module>
>     from libmproxy.main import mitmproxy
>   File "/usr/lib/python2.7/dist-packages/libmproxy/main.py", line 6, in 
> <module>
>     from . import version, cmdline
>   File "/usr/lib/python2.7/dist-packages/libmproxy/cmdline.py", line 6, in 
> <module>
>     from . import filt, utils, version
>   File "/usr/lib/python2.7/dist-packages/libmproxy/filt.py", line 37, in 
> <module>
>     from .protocol.http import decoded
>   File "/usr/lib/python2.7/dist-packages/libmproxy/protocol/__init__.py", 
> line 1, in <module>
>     from .primitives import *
>   File "/usr/lib/python2.7/dist-packages/libmproxy/protocol/primitives.py", 
> line 6, in <module>
>     from ..proxy.connection import ClientConnection, ServerConnection
>   File "/usr/lib/python2.7/dist-packages/libmproxy/proxy/__init__.py", line 
> 1, in <module>
>     from .primitives import *
>   File "/usr/lib/python2.7/dist-packages/libmproxy/proxy/primitives.py", line 
> 2, in <module>
>     from netlib import socks
> ImportError: cannot import name socks
> 
> As it requires a versioned dependency on python-netlib >=0.11.2.
> 
> But that's still not enough to fix the issue:
> 
> Traceback (most recent call last):
>   File "/usr/bin/mitmproxy", line 3, in <module>
>     mitmproxy()
>   File "/usr/lib/python2.7/dist-packages/libmproxy/main.py", line 79, in 
> mitmproxy
>     from . import console
>   File "/usr/lib/python2.7/dist-packages/libmproxy/console/__init__.py", line 
> 5, in <module>
>     from .. import controller, utils, flow, script, proxy
>   File "/usr/lib/python2.7/dist-packages/libmproxy/flow.py", line 13, in 
> <module>
>     from .onboarding import app
>   File "/usr/lib/python2.7/dist-packages/libmproxy/onboarding/app.py", line 
> 14, in <module>
>     class Adapter(tornado.wsgi.WSGIAdapter):
> AttributeError: 'module' object has no attribute 'WSGIAdapter'
> 
> As mitmproxy requires a versioned dependency on python-tornado >=4.0.2
> which is also not yet available in the archive...
> 
> 
> These and possibly other versioned dependencies are defined in
> setup.py:
> 
> deps = {
>     "netlib>=%s, <%s" % (version.MINORVERSION, version.NEXT_MINORVERSION),
>     "pyasn1>0.1.2",
>     "pyOpenSSL>=0.14",
>     "tornado>=4.0.2",
>     "configargparse>=0.9.3"
> }
> script_deps = {
>     "mitmproxy": {
>         "urwid>=1.1",
>         "lxml>=3.3.6",
>         "Pillow>=2.3.0",
>     },
>     "mitmdump": set()
> }
> 
> 
> Though it looks like all the other versioned deps defined there are
> available in Debian.
> 
> 
> live well,
>   vagrant
> 
> -- System Information:
> Debian Release: 8.0
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable'), (120, 'unstable'), 
> (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, armhf
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages mitmproxy depends on:
> ii  python                 2.7.9-1
> ii  python-configargparse  0.9.3-1~20150222~2
> ii  python-flask           0.10.1-2
> ii  python-imaging         2.6.1-2
> ii  python-lxml            3.4.0-1
> ii  python-netlib          0.10-2
> ii  python-openssl         0.14-1
> ii  python-pil             2.6.1-2
> ii  python-pyasn1          0.1.7-1
> ii  python-tornado         3.2.2-1.1
> ii  python-urwid           1.2.1-2+b1
> 
> mitmproxy recommends no packages.
> 
> mitmproxy suggests no packages.
> 
> -- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to