Community Packages

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!
Tasklist

FS#58110 - [python-wsproto] Dependency version mismatch (python-h11 0.7.x required, incompatible 0.8 in repo)

Attached to Project: Community Packages
Opened by Dragoon Aethis (DragoonAethis) - Wednesday, 04 April 2018, 20:49 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 05 April 2018, 00:54 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package python-wsproto requires python-h11, but the requires.txt states that h11~=0.7.0, that is any 0.7.x version, is required. Loading python-wsproto fails in some apps (mitmproxy no longer starts, for example). This is an upstream bug, but until then python-h11 should be rolled back (as only two packages in the repositories depend on it, and those indeed explode), or python-wsproto should be pulled from the repo (unsure how this should be handled).

Upstream bug: https://github.com/python-hyper/wsproto/issues/53

Package versions:
* python-wsproto 0.11.0-1
* python-h11 0.8.0-1
* mitmproxy 3.0.3-1 (example failing app - simply try running `mitmproxy` with no configuration)

Steps to reproduce:
* Install an app that depends on python-wsproto, eg. mitmproxy.
* Try running it.
* App crashes with the following traceback:

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'})
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 05 April 2018, 00:54 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57922   FS#58045   FS#58099 

Loading...