FS#47007 - [mitmproxy] broken with python2-netlib 0.14.0
Attached to Project:
Community Packages
Opened by Cole Mickens (colemickens) - Sunday, 08 November 2015, 23:24 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 10 November 2015, 03:03 GMT
Opened by Cole Mickens (colemickens) - Sunday, 08 November 2015, 23:24 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 10 November 2015, 03:03 GMT
|
Details
Description:
`mitmproxy` is broken due to not supporting the latest release of `python2-netlib` Additional info: * mitmproxy * python2-netlib 0.13.1 (works) * python2-netlib 0.14.0 (fails) Steps to reproduce: 1. Install latest `mitmproxy`. 2. Install latest `python2-netlib`. 3. Try to run `mitmproxy`. Observe the following error: ``` $ sudo mitmproxy Traceback (most recent call last): File "/usr/bin/mitmproxy", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3095, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3081, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 660, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 673, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 846, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'netlib<0.14,>=0.13' distribution was not found and is required by mitmproxy ``` Workaround: Downgrade python2-netlib to 0.13.1. |
This task depends upon
Closed by Felix Yan (felixonmars)
Tuesday, 10 November 2015, 03:03 GMT
Reason for closing: Fixed
Additional comments about closing: mitmproxy updated to 0.14
Tuesday, 10 November 2015, 03:03 GMT
Reason for closing: Fixed
Additional comments about closing: mitmproxy updated to 0.14
Comment by
Cole Mickens (colemickens) -
Sunday, 08 November 2015, 23:25 GMT
Comment by
Cole Mickens (colemickens) -
Monday, 09 November 2015, 08:15 GMT
Upstream bug report:
https://github.com/mitmproxy/mitmproxy/issues/825
From watching the upstream bug, it appears that python2-netlib and
mitmproxy need to be updated in tandem:
https://github.com/mitmproxy/mitmproxy/issues/825#issuecomment-154993408