From: Eric Evans Date: Sun, 29 Nov 2015 12:33:59 -0600 Subject: do-not-use-vendored-code Last-Update: Tue, 29 Jan 2019 00:51:06 +0300 Upstream botocore includes a couple of vendored modules, and boto3 depends on them transitively. The Debian package of botocore excludes this vendored code, and includes dependencies for the corresponding packages, so we need to do the same, here. Index: python-boto3/boto3/compat.py =================================================================== --- python-boto3.orig/boto3/compat.py +++ python-boto3/boto3/compat.py @@ -16,7 +16,7 @@ import errno import socket import warnings -from botocore.vendored import six +import six from boto3.exceptions import PythonDeprecationWarning if six.PY3: