[Python-modules-team] Bug#870888: breaks awscli 1.11.121-1

Nicolás Alvarez nicolas.alvarez at gmail.com
Sat Aug 26 05:13:57 UTC 2017


I tried bisecting the upstream code directly from git, and got down to
the range of commits where upstream removed bundled libraries:

With requests 282b01a7c9, awscli works (v2.15.1, right before deleting
the 'packages' directory)
With requests 47f170bb35, awscli fails (pre-v2.16.0, right after
fixing the last "from .packages.urllib3.foo import Bar")

The in-between revisions don't work (ImportError: No module named
'requests.packages.urllib3.exceptions'), because the 'packages'
directory was already deleted but import statements still pointed to
it.

Note that upstream's 47f170bb35 uses the system urllib3, but fails
with both python3-urllib3 1.19.1-1 and 1.21.1-1.

I guess this is bad news for trying to figure out what causes the problem...

-- 
Nicolás



More information about the Python-modules-team mailing list