summaryrefslogtreecommitdiff
path: root/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild')
-rw-r--r--dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild
index f02fbc7cce3b..2a0a0b118c65 100644
--- a/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild
+++ b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild
@@ -40,12 +40,18 @@ BDEPEND="
dev-python/tempest[${PYTHON_USEDEP}]
dev-python/testscenarios[${PYTHON_USEDEP}]
dev-python/testtools[${PYTHON_USEDEP}]
- <dev-python/urllib3-2[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
+PATCHES=(
+ # combined patch for urllib3-2 and py3.12 test failures
+ # https://bugs.launchpad.net/python-glanceclient/+bug/2069684
+ # https://bugs.launchpad.net/python-glanceclient/+bug/2069682
+ "${FILESDIR}/${P}-test.patch"
+)
+
python_test() {
# functional tests require cloud instance access
eunittest -b glanceclient/tests/unit