From 081360dd61e09342f9dbe127b32e78a087843027df1257614f0abe7268bf3373 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 5 Dec 2022 12:10:28 +0000 Subject: [PATCH] - Disable broken test with latest urllib3 release gh#elastic/elastic-transport-python#96 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=5 --- python-elastic-transport.changes | 6 ++++++ python-elastic-transport.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-elastic-transport.changes b/python-elastic-transport.changes index 65f4bfd..c360a8d 100644 --- a/python-elastic-transport.changes +++ b/python-elastic-transport.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 5 12:09:29 UTC 2022 - Daniel Garcia + +- Disable broken test with latest urllib3 release + gh#elastic/elastic-transport-python#96 + ------------------------------------------------------------------- Tue Sep 27 19:15:33 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-elastic-transport.spec b/python-elastic-transport.spec index 1f0d5c4..6ecf15b 100644 --- a/python-elastic-transport.spec +++ b/python-elastic-transport.spec @@ -68,6 +68,8 @@ sed -i 's/from mock/from unittest.mock/' tests/node/test_http_*.py donttest="(test_http_aiohttp and not TestAiohttpHttpNode)" donttest="$donttest or test_tls_versions" donttest="$donttest or test_assert_fingerprint_in_cert_chain" +# gh#elastic/elastic-transport-python#96 +donttest="$donttest or test_url_to_node_config[https://[::1]:0/-https://[::1]:0-]" %pytest -k "not ($donttest)" %files %{python_files}