mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
sys-cluster/cinder: don't use vendored urllib3
Closes: https://bugs.gentoo.org/840026 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -87,6 +87,7 @@ RDEPEND="
|
||||
>=dev-python/boto3-1.16.51[${PYTHON_USEDEP}]
|
||||
|
||||
>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
|
||||
acct-user/cinder
|
||||
acct-group/cinder
|
||||
@@ -109,6 +110,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES=( "${FILESDIR}/${P}-no-vendored-urllib.patch" )
|
||||
|
||||
pkg_pretend() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/cinder/backup/drivers/s3.py
|
||||
+++ b/cinder/backup/drivers/s3.py
|
||||
@@ -74,7 +74,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user