From 0f5eb97abd804cc3bae45e4a47f30e1eee05cf29 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 2 Aug 2023 22:10:17 -1000 Subject: [PATCH 1/2] fix: revert DNSIncoming cimport in _dns.pxd fixes #1207 This seems to cause a problem for some systems. Its not clear why but this is likely the only change that could have triggered the issue so lets revert it --- src/zeroconf/_dns.pxd | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/zeroconf/_dns.pxd b/src/zeroconf/_dns.pxd index 5908ff1bf..70f644d18 100644 --- a/src/zeroconf/_dns.pxd +++ b/src/zeroconf/_dns.pxd @@ -1,8 +1,6 @@ import cython -from ._protocol.incoming cimport DNSIncoming - cdef object _LEN_BYTE cdef object _LEN_SHORT From 23b15c427ed49804bbc1251b88160d231848784a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 2 Aug 2023 22:11:05 -1000 Subject: [PATCH 2/2] fix: revert DNSIncoming cimport in _dns.pxd fixes #1207 This seems to cause a problem for some systems. Its not clear why but this is likely the only change that could have triggered the issue so lets revert it --- src/zeroconf/_dns.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zeroconf/_dns.pxd b/src/zeroconf/_dns.pxd index 70f644d18..289cd1a1d 100644 --- a/src/zeroconf/_dns.pxd +++ b/src/zeroconf/_dns.pxd @@ -42,7 +42,7 @@ cdef class DNSRecord(DNSEntry): @cython.locals( answers=cython.list, ) - cpdef suppressed_by(self, DNSIncoming msg) + cpdef suppressed_by(self, object msg) cpdef get_expiration_time(self, cython.uint percent)