forked from pool/python-zeroconf
Accepting request 759821 from home:mnhauke
- Adjust dependencies and the %check section so the testsuite can
still be executed
- Add patch:
* python-zeroconf-disable-some-tests.patch
- Update to version 0.24.3
* Fixed import-time "TypeError: 'ellipsis' object is not
iterable." on CPython 3.5.2
- Update to version 0.24.2
* Added support for AWDL interface on macOS (needed and used by
the opendrop project but should be useful in general)
* Added missing type hints
- Update to version 0.24.1
* Applied some significant performance optimizations
* Fixed flushing outdated cache entries when incoming record
is unique
* Fixed handling updates of TXT records (they'd not get recorded
previously)
- Update to version 0.24.0
* Added IPv6 support
* Added additional recommended records to PTR responses
* Added handling of ENOTCONN being raised during shutdown when
using Eventlet
* Included the py.typed marker in the package so that type
checkers know to use type hints from the source code
OBS-URL: https://build.opensuse.org/request/show/759821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=26
This commit is contained in:
44
python-zeroconf-disable-some-tests.patch
Normal file
44
python-zeroconf-disable-some-tests.patch
Normal file
@@ -0,0 +1,44 @@
|
||||
diff --git a/zeroconf/test.py b/zeroconf/test.py
|
||||
index f0d5ad4..26e6216 100644
|
||||
--- a/zeroconf/test.py
|
||||
+++ b/zeroconf/test.py
|
||||
@@ -435,6 +435,7 @@ class Names(unittest.TestCase):
|
||||
|
||||
|
||||
class Framework(unittest.TestCase):
|
||||
+ @unittest.skip("Does not work in an OBS chroot")
|
||||
def test_launch_and_close(self):
|
||||
rv = r.Zeroconf(interfaces=r.InterfaceChoice.All)
|
||||
rv.close()
|
||||
@@ -443,6 +444,7 @@ class Framework(unittest.TestCase):
|
||||
|
||||
@unittest.skipIf(not socket.has_ipv6, 'Requires IPv6')
|
||||
@attr('IPv6')
|
||||
+ @unittest.skip("Does not work in an OBS chroot")
|
||||
def test_launch_and_close_v4_v6(self):
|
||||
rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.All)
|
||||
rv.close()
|
||||
@@ -451,6 +453,7 @@ class Framework(unittest.TestCase):
|
||||
|
||||
@unittest.skipIf(not socket.has_ipv6, 'Requires IPv6')
|
||||
@attr('IPv6')
|
||||
+ @unittest.skip("Does not work in an OBS chroot")
|
||||
def test_launch_and_close_v6_only(self):
|
||||
rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.V6Only)
|
||||
rv.close()
|
||||
@@ -770,6 +773,7 @@ class TestDNSCache(unittest.TestCase):
|
||||
|
||||
|
||||
class ServiceTypesQuery(unittest.TestCase):
|
||||
+ @unittest.skip("Does not work in an OBS chroot")
|
||||
def test_integration_with_listener(self):
|
||||
|
||||
type_ = "_test-srvc-type._tcp.local."
|
||||
@@ -818,6 +822,7 @@ class ServiceTypesQuery(unittest.TestCase):
|
||||
|
||||
@unittest.skipIf(not socket.has_ipv6, 'Requires IPv6')
|
||||
@attr('IPv6')
|
||||
+ @unittest.skip("Does not work in an OBS chroot")
|
||||
def test_integration_with_listener_ipv6(self):
|
||||
|
||||
type_ = "_test-srvc-type._tcp.local."
|
||||
Reference in New Issue
Block a user