forked from pool/python-eventlet
- update newdnspython.patch to not patch non-testsuite as
it breaks the functionality (bsc#1208126) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=104
This commit is contained in:
@@ -1,18 +1,3 @@
|
|||||||
Index: eventlet-0.33.0/eventlet/support/greendns.py
|
|
||||||
===================================================================
|
|
||||||
--- eventlet-0.33.0.orig/eventlet/support/greendns.py
|
|
||||||
+++ eventlet-0.33.0/eventlet/support/greendns.py
|
|
||||||
@@ -339,7 +339,7 @@ class ResolverProxy(object):
|
|
||||||
self._cached_resolver = value
|
|
||||||
|
|
||||||
def clear(self):
|
|
||||||
- self._resolver = dns.resolver.Resolver(filename=self._filename)
|
|
||||||
+ self._resolver = dns.resolver.Resolver(filename=self._filename, configure=False)
|
|
||||||
self._resolver.cache = dns.resolver.LRUCache()
|
|
||||||
|
|
||||||
def query(self, qname, rdtype=dns.rdatatype.A, rdclass=dns.rdataclass.IN,
|
|
||||||
Index: eventlet-0.33.0/tests/greendns_test.py
|
|
||||||
===================================================================
|
|
||||||
--- eventlet-0.33.0.orig/tests/greendns_test.py
|
--- eventlet-0.33.0.orig/tests/greendns_test.py
|
||||||
+++ eventlet-0.33.0/tests/greendns_test.py
|
+++ eventlet-0.33.0/tests/greendns_test.py
|
||||||
@@ -888,7 +888,7 @@ class TinyDNSTests(tests.LimitedTestCase
|
@@ -888,7 +888,7 @@ class TinyDNSTests(tests.LimitedTestCase
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 22:15:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update newdnspython.patch to not patch non-testsuite as
|
||||||
|
it breaks the functionality (bsc#1208126)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 14 11:33:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
Tue Feb 14 11:33:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -86,7 +86,7 @@ python2_pytest_param='--collect-only'
|
|||||||
# dnspython 1 and 2: backdoor tests fail with "take too long"
|
# dnspython 1 and 2: backdoor tests fail with "take too long"
|
||||||
skiptests="(BackdoorTest and test_server)"
|
skiptests="(BackdoorTest and test_server)"
|
||||||
# fail only with dnspython 2:
|
# fail only with dnspython 2:
|
||||||
skiptests+=" or test_dns_methods_are_green or test_noraise_dns_tcp"
|
skiptests+=" or test_dns_methods_are_green or test_noraise_dns_tcp or test_clear"
|
||||||
# These are flaky inside the OBS environment
|
# These are flaky inside the OBS environment
|
||||||
skiptests+=" or test_fork_after_monkey_patch or test_send_1k_req_rep or test_cpu_usage_after_bind"
|
skiptests+=" or test_fork_after_monkey_patch or test_send_1k_req_rep or test_cpu_usage_after_bind"
|
||||||
# tracebacks in denosed suite with pytest inside obs presumably work different than when upstream is running nose?
|
# tracebacks in denosed suite with pytest inside obs presumably work different than when upstream is running nose?
|
||||||
|
Reference in New Issue
Block a user