Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#57922 - [wsproto] Does not work with python-h11 0.8.0
Attached to Project:
Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Friday, 23 March 2018, 03:10 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 09 April 2018, 19:49 GMT
Opened by Chih-Hsuan Yen (yan12125) - Friday, 23 March 2018, 03:10 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 09 April 2018, 19:49 GMT
|
DetailsDescription:
$ mitmproxy Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 574, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 892, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 783, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (h11 0.8.0 (/usr/lib/python3.6/site-packages), Requirement.parse('h11~=0.7.0'), {'wsproto'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/mitmproxy", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3088, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 576, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 783, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (h11 0.8.0 (/usr/lib/python3.6/site-packages), Requirement.parse('h11~=0.7.0'), {'wsproto'}) Additional info: python-h11 0.8.0-1 python-wsproto 0.11.0-1 mitmproxy 3.0.3-1 I worked around this issue by modifying /usr/lib/python3.6/site-packages/wsproto-0.11.0-py3.6.egg-info/requires.txt; change h11~=0.7.0 to h11>=0.7.0 Steps to reproduce: - Run mitmproxy from the terminal |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Monday, 09 April 2018, 19:49 GMT
Reason for closing: Fixed
Additional comments about closing: python-wsproto 0.11.0-2
Monday, 09 April 2018, 19:49 GMT
Reason for closing: Fixed
Additional comments about closing: python-wsproto 0.11.0-2
Comment by Chih-Hsuan Yen (yan12125) -
Saturday, 31 March 2018, 09:21 GMT
An upstream fix is pending: https://github.com/python-hyper/wsproto/pull/54