From f49125922b5348e1703a2a345aaf01555e208088 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 29 Aug 2026 10:20:56 -0500 Subject: [PATCH] fix: restore sdist contents and listener typing after the reverts --- pyproject.toml | 6 ++++++ src/zeroconf/_listener.pxd | 9 +-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c620da12..7aeb4ff4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,12 @@ classifiers=[ packages = [ { include = "zeroconf", from = "src" }, ] +include = [ + { format = "sdist", path = "COPYING" }, + { format = "sdist", path = "CHANGELOG.md" }, + { format = "sdist", path = "docs" }, + { format = "sdist", path = "tests" }, +] # Make sure we don't package temporary C files generated by the build process exclude = [ "**/*.c" ] diff --git a/src/zeroconf/_listener.pxd b/src/zeroconf/_listener.pxd index 77df2dd3..9c8ff3c8 100644 --- a/src/zeroconf/_listener.pxd +++ b/src/zeroconf/_listener.pxd @@ -60,11 +60,4 @@ cdef class AsyncListener: tuple v6_flow_scope ) - cpdef _respond_query( - self, - object msg, - object addr, - object port, - object transport, - tuple v6_flow_scope - ) + cpdef _respond_query(self, DNSIncoming msg, object addr, object port, object transport, tuple v6_flow_scope)