FS#48096 - [python2-netlib] upgrade of python2-hpack to 2.1.0-1 breaks python2-netlib-0.15.1-2

Attached to Project: Community Packages
Opened by Stefan Majewsky (majewsky) - Monday, 08 February 2016, 15:48 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 09 February 2016, 09:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The most recent update to python2-hpack, from 2.0.1-1 to 2.1.0-1, breaks python2-netlib and applications using it, e.g. mitmproxy:

$ pacman -Q python2-netlib mitmproxy
python2-netlib 0.15.1-2
mitmproxy 0.15-3

$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1) Old Version New Version Net Change

community/python2-hpack 2.0.1-1 2.1.0-1 0,01 MiB

Total Installed Size: 0,15 MiB
Net Upgrade Size: 0,01 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [########################] 100%
(1/1) checking package integrity [########################] 100%
(1/1) loading package files [########################] 100%
(1/1) checking for file conflicts [########################] 100%
(1/1) checking available disk space [########################] 100%
:: Processing package changes...
(1/1) upgrading python2-hpack [########################] 100%

$ mitmproxy -p 8888
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 3141, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3127, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 642, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 828, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'hpack<2.1,>=2.0.1' distribution was not found and is required by netlib
This task depends upon

Closed by  Felix Yan (felixonmars)
Tuesday, 09 February 2016, 09:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.15.1-3
Comment by pedrum (pd5rm) - Monday, 08 February 2016, 19:18 GMT
I see the same issue as reporter. I'm working around with a downgrade for now.

pacman -U https://archive.archlinux.org/packages/p/python2-hpack/python2-hpack-2.0.1-1-any.pkg.tar.xz
Comment by Stefan Majewsky (majewsky) - Monday, 08 February 2016, 20:47 GMT
That's what I've done, too.

Loading...