diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild index 3d31df44a5..6f95229e34 100644 --- a/sys-cluster/cinder/cinder-20.0.0.ebuild +++ b/sys-cluster/cinder/cinder-20.0.0.ebuild @@ -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 diff --git a/sys-cluster/cinder/files/cinder-20.0.0-no-vendored-urllib.patch b/sys-cluster/cinder/files/cinder-20.0.0-no-vendored-urllib.patch new file mode 100644 index 0000000000..8166e26e65 --- /dev/null +++ b/sys-cluster/cinder/files/cinder-20.0.0-no-vendored-urllib.patch @@ -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