From c70169a36f1014bc06953a5b124cdce54d38acc43d36e2b869e5c3ce2edabbc9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 13 Dec 2024 10:45:12 +0000 Subject: [PATCH] Accepting request 1230637 from home:bnavigator:branches:devel:languages:python - Update test runs: pytest 8 is supported, httpx 0.28 creates problems OBS-URL: https://build.opensuse.org/request/show/1230637 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elastic-transport?expand=0&rev=29 --- python-elastic-transport.changes | 6 ++++++ python-elastic-transport.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-elastic-transport.changes b/python-elastic-transport.changes index e9ebd41..1e4022d 100644 --- a/python-elastic-transport.changes +++ b/python-elastic-transport.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 12 15:56:05 UTC 2024 - Ben Greiner + +- Update test runs: pytest 8 is supported, httpx 0.28 creates + problems + ------------------------------------------------------------------- Thu Dec 5 10:45:51 UTC 2024 - Daniel Garcia diff --git a/python-elastic-transport.spec b/python-elastic-transport.spec index 47d242d..63ddc7b 100644 --- a/python-elastic-transport.spec +++ b/python-elastic-transport.spec @@ -71,14 +71,10 @@ donttest="(test_http_aiohttp and not TestAiohttpHttpNode)" donttest="$donttest or test_tls_versions" donttest="$donttest or test_assert_fingerprint_in_cert_chain" donttest="$donttest or (test_ssl_assert_fingerprint and httpx)" -# gh#elastic/elastic-transport-python#96 -donttest="$donttest or test_url_to_node_config[https://[::1]:0/-https://[::1]:0-]" -# pytest 8.x failures -donttest="$donttest or test_sniff_before_requests" -donttest="$donttest or test_sniff_on_node_failure" -donttest="$donttest or test_sniffed_nodes_added_to_pool" # Fails in 3.12 with DeprecationWarning donttest="$donttest or test_simple_request" +# Mocking error with httpx 0.28 / patched respx +donttest="$donttest or (TestHttpxAsyncNode and not Creation)" # Flaky test donttest="$donttest or test_decimal_serialization[OrjsonSerializer]" %pytest -W ignore::DeprecationWarning -k "not ($donttest)"