Accepting request 1230777 from devel:languages:python

Forwarded request #1230637 from bnavigator

- Update test runs: pytest 8 is supported, httpx 0.28 creates
    problems

OBS-URL: https://build.opensuse.org/request/show/1230777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elastic-transport?expand=0&rev=14
This commit is contained in:
2024-12-13 21:33:13 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 12 15:56:05 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update test runs: pytest 8 is supported, httpx 0.28 creates
problems
-------------------------------------------------------------------
Thu Dec 5 10:45:51 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -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)"