From b8de83efe2d4bcabcc557b38a0c0555a61afee17366e9f3186a0c327d808f4a6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 8 Oct 2024 20:25:32 +0000 Subject: [PATCH] Accepting request 1206394 from home:mnhauke:network - Skip some tests * that require a working resolver and external DNS resolution * that require an openssl3 version with support for ECDSA with deterministic signature (RFC 6979)" OBS-URL: https://build.opensuse.org/request/show/1206394 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=79 --- python-dnspython.changes | 8 ++++++++ python-dnspython.spec | 11 +++++++++++ 2 files changed, 19 insertions(+) diff --git a/python-dnspython.changes b/python-dnspython.changes index a917f70..bbf8a16 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Oct 8 20:19:23 UTC 2024 - Martin Hauke + +- Skip some tests + * that require a working resolver and external DNS resolution + * that require an openssl3 version with support for + ECDSA with deterministic signature (RFC 6979)" + ------------------------------------------------------------------- Sun Oct 6 07:03:50 UTC 2024 - Martin Hauke diff --git a/python-dnspython.spec b/python-dnspython.spec index 5b2b14c..d37f272 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -115,6 +115,17 @@ chmod -x dns/win32util.py %if %{with test} %check +# remove tests that require a working resolver and external DNS resolution +rm tests/test_async.py +rm tests/test_doh.py +rm tests/test_resolver.py +rm tests/test_resolver_override.py +# remove dnssec related tests since those require an openssl version with +# support for supports "ECDSA with deterministic signature (RFC 6979)" +# https://github.com/pyca/cryptography/pull/10369 +# TODO: reenable once TW ships openssl >= 3.2.0 +rm tests/test_dnssec.py +rm tests/test_dnssecalgs.py %pytest %endif