91 lines
3.8 KiB
Plaintext
91 lines
3.8 KiB
Plaintext
Description: Remove duplicate code
|
|
Upstream code contains duplicate code (requests and urllib3).
|
|
Remove this code from orig-tarball and modify import directives.
|
|
.
|
|
python-botocore (0.29.0+repack-1) UNRELEASED; urgency=medium
|
|
.
|
|
* Remove duplicated code from upstream tarball.
|
|
Author: TANIGUCHI Takaki <takaki@debian.org>
|
|
|
|
---
|
|
The information above should follow the Patch Tagging Guidelines, please
|
|
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
|
are templates for supplementary fields that you might want to add:
|
|
|
|
Origin: <vendor|upstream|other>, <url of original patch>
|
|
Bug: <url in upstream bugtracker>
|
|
Bug-Debian: http://bugs.debian.org/<bugnumber>
|
|
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
|
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
|
Reviewed-By: <name and email of someone who approved the patch>
|
|
Last-Update: <YYYY-MM-DD>
|
|
|
|
Index: python-botocore-0.62.0/botocore/endpoint.py
|
|
===================================================================
|
|
--- python-botocore-0.62.0.orig/botocore/endpoint.py 2014-09-04 11:53:11.603921152 +0900
|
|
+++ python-botocore-0.62.0/botocore/endpoint.py 2014-09-04 11:53:11.583921657 +0900
|
|
@@ -17,8 +17,8 @@
|
|
import time
|
|
import threading
|
|
|
|
-from botocore.vendored.requests.sessions import Session
|
|
-from botocore.vendored.requests.utils import get_environ_proxies
|
|
+from requests.sessions import Session
|
|
+from requests.utils import get_environ_proxies
|
|
import six
|
|
|
|
import botocore.response
|
|
Index: python-botocore-0.62.0/botocore/retryhandler.py
|
|
===================================================================
|
|
--- python-botocore-0.62.0.orig/botocore/retryhandler.py 2014-09-04 11:53:11.603921152 +0900
|
|
+++ python-botocore-0.62.0/botocore/retryhandler.py 2014-09-04 11:55:06.209047860 +0900
|
|
@@ -17,8 +17,8 @@
|
|
import logging
|
|
from binascii import crc32
|
|
|
|
-from botocore.vendored.requests import ConnectionError, Timeout
|
|
-from botocore.vendored.requests.packages.urllib3.exceptions import ClosedPoolError
|
|
+from requests import ConnectionError, Timeout
|
|
+from urllib3.exceptions import ClosedPoolError
|
|
|
|
from botocore.exceptions import ChecksumError
|
|
|
|
Index: python-botocore-0.62.0/botocore/awsrequest.py
|
|
===================================================================
|
|
--- python-botocore-0.62.0.orig/botocore/awsrequest.py 2014-09-04 11:53:11.603921152 +0900
|
|
+++ python-botocore-0.62.0/botocore/awsrequest.py 2014-09-04 11:53:11.587921553 +0900
|
|
@@ -17,14 +17,14 @@
|
|
import inspect
|
|
|
|
import six
|
|
-from botocore.vendored.requests import models
|
|
-from botocore.vendored.requests.sessions import REDIRECT_STATI
|
|
+from requests import models
|
|
+from requests.sessions import REDIRECT_STATI
|
|
from botocore.compat import HTTPHeaders, file_type, HTTPResponse
|
|
from botocore.exceptions import UnseekableStreamError
|
|
-from botocore.vendored.requests.packages.urllib3.connection import VerifiedHTTPSConnection
|
|
-from botocore.vendored.requests.packages.urllib3.connection import HTTPConnection
|
|
-from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPConnectionPool
|
|
-from botocore.vendored.requests.packages.urllib3.connectionpool import HTTPSConnectionPool
|
|
+from urllib3.connection import VerifiedHTTPSConnection
|
|
+from urllib3.connection import HTTPConnection
|
|
+from urllib3.connectionpool import HTTPConnectionPool
|
|
+from urllib3.connectionpool import HTTPSConnectionPool
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|
|
Index: python-botocore-0.62.0/botocore/utils.py
|
|
===================================================================
|
|
--- python-botocore-0.62.0.orig/botocore/utils.py 2014-09-04 11:53:11.603921152 +0900
|
|
+++ python-botocore-0.62.0/botocore/utils.py 2014-09-04 11:54:04.814583384 +0900
|
|
@@ -16,7 +16,7 @@
|
|
|
|
from botocore.exceptions import InvalidExpressionError, ConfigNotFound
|
|
from botocore.compat import json, quote
|
|
-from botocore.vendored import requests
|
|
+import requests
|
|
|
|
|
|
logger = logging.getLogger(__name__)
|