From ee7b9142c1e7ea59fafd9e8abc3931cb098f43f7 Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 15 May 2023 20:05:45 +0200 Subject: [PATCH] Replace whole repo with latest content from branch stream-1.15.0-rhel-8.8.0 Content corresponds with RHEL dist-git commit 765251e --- .gitignore | 2 +- ...rnal-network-connection_rhbz#1914296.patch | 105 ------------------ gating.yaml | 7 -- sources | 2 +- 4 files changed, 2 insertions(+), 114 deletions(-) delete mode 100644 0001-Skip-tests-that-require-external-network-connection_rhbz#1914296.patch delete mode 100644 gating.yaml diff --git a/.gitignore b/.gitignore index 75f28d0..a5b1c51 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/dnspython-1.15.0.tar.gz +/dnspython-1.15.0.tar.gz diff --git a/0001-Skip-tests-that-require-external-network-connection_rhbz#1914296.patch b/0001-Skip-tests-that-require-external-network-connection_rhbz#1914296.patch deleted file mode 100644 index 34dafa1..0000000 --- a/0001-Skip-tests-that-require-external-network-connection_rhbz#1914296.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 0414551fab97825fb826882b9c23c1a3ea0b71ea Mon Sep 17 00:00:00 2001 -From: Rafael Guterres Jeffman -Date: Thu, 22 Apr 2021 10:08:41 -0300 -Subject: [PATCH] Skip tests that require external network connection. - ---- - tests/test_async.py | 11 ++--------- - tests/test_query.py | 9 ++------- - tests/test_resolver.py | 10 ++-------- - tests/test_resolver_override.py | 9 ++------- - 4 files changed, 8 insertions(+), 31 deletions(-) - -diff --git a/tests/test_async.py b/tests/test_async.py -index 0252f22..370c6bb 100644 ---- a/tests/test_async.py -+++ b/tests/test_async.py -@@ -38,15 +38,8 @@ try: - except Exception: - _ssl_available = False - -- --# Some tests require the internet to be available to run, so let's --# skip those if it's not there. --_network_available = True --try: -- socket.gethostbyname('dnspython.org') --except socket.gaierror: -- _network_available = False -- -+# RHEL 9 build environment does not have provide external network access. -+_network_available = False - - # Probe for IPv4 and IPv6 - query_addresses = [] -diff --git a/tests/test_query.py b/tests/test_query.py -index 2cff377..99dc873 100644 ---- a/tests/test_query.py -+++ b/tests/test_query.py -@@ -36,13 +36,8 @@ import dns.query - import dns.tsigkeyring - import dns.zone - --# Some tests require the internet to be available to run, so let's --# skip those if it's not there. --_network_available = True --try: -- socket.gethostbyname('dnspython.org') --except socket.gaierror: -- _network_available = False -+# RHEL 9 build environment does not have provide external network access. -+_network_available = False - - # Some tests use a "nano nameserver" for testing. It requires trio - # and threading, so try to import it and if it doesn't work, skip -diff --git a/tests/test_resolver.py b/tests/test_resolver.py -index 4f5643d..b26ab65 100644 ---- a/tests/test_resolver.py -+++ b/tests/test_resolver.py -@@ -18,7 +18,6 @@ - from io import StringIO - import selectors - import sys --import socket - import time - import unittest - -@@ -31,13 +30,8 @@ import dns.resolver - import dns.tsig - import dns.tsigkeyring - --# Some tests require the internet to be available to run, so let's --# skip those if it's not there. --_network_available = True --try: -- socket.gethostbyname('dnspython.org') --except socket.gaierror: -- _network_available = False -+# RHEL 9 build environment does not have provide external network access. -+_network_available = False - - # Some tests use a "nano nameserver" for testing. It requires trio - # and threading, so try to import it and if it doesn't work, skip -diff --git a/tests/test_resolver_override.py b/tests/test_resolver_override.py -index ac93316..036a42e 100644 ---- a/tests/test_resolver_override.py -+++ b/tests/test_resolver_override.py -@@ -9,13 +9,8 @@ import dns.rdataclass - import dns.rdatatype - import dns.resolver - --# Some tests require the internet to be available to run, so let's --# skip those if it's not there. --_network_available = True --try: -- socket.gethostbyname('dnspython.org') --except socket.gaierror: -- _network_available = False -+# RHEL 9 build environment does not have provide external network access. -+_network_available = False - - - @unittest.skipIf(not _network_available, "Internet not reachable") --- -2.30.2 - diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 423fb36..0000000 --- a/gating.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# recipients: abokovoy, frenaud, kaleem, ftrivino, rjeffman ---- !Policy -product_versions: - - rhel-9 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} diff --git a/sources b/sources index 12ced55..07b6da6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnspython-1.15.0.tar.gz) = 89792cc5033a1a93a4018cf437adf141364c8a072bf7e8eb4abbe7d7f6351e652129138405c0cee2173870618f480fba4cd30f3b4874f40f5c6f870c252f08ed +63a679089822fb86127867c315286dc5 dnspython-1.15.0.tar.gz