File: do-not-use-urllib3-from-botocore.patch

package info (click to toggle)
cinder 2%3A26.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 43,532 kB
  • sloc: python: 490,880; pascal: 2,230; sh: 394; makefile: 96; xml: 26
file content (20 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Do not use urllib3 from botocore
 Cinder is using urllib3 vendored version from botocore, which we unvendor
 in Debian.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2021-03-27

Index: cinder/cinder/backup/drivers/s3.py
===================================================================
--- cinder.orig/cinder/backup/drivers/s3.py
+++ cinder/cinder/backup/drivers/s3.py
@@ -72,7 +72,7 @@ import socket
 import boto3
 from botocore.config import Config
 from botocore import exceptions as boto_exc
-from botocore.vendored.requests.packages.urllib3 import exceptions as \
+from urllib3 import exceptions as \
     urrlib_exc
 from oslo_config import cfg
 from oslo_log import log as logging