Created attachment 925447 [details] build.log Error compiling Cython file: ------------------------------------------------------------ ... def _cancel_any_timers_for_addr(self, addr: _str) -> None: """Cancel any future truncated packet timers for the address.""" if addr in self._timers: self._timers.pop(addr).cancel() def _respond_query( ^ ------------------------------------------------------------ src/zeroconf/_listener.py:225:4: Signature not compatible with previous declaration Error compiling Cython file: ------------------------------------------------------------ ... object port, object transport, tuple v6_flow_scope ) cpdef _respond_query( ^ ------------------------------------------------------------ src/zeroconf/_listener.pxd:51:24: Previous declaration is here --- previously, zeroconf-0.146.1 worked fine with cython-3.0.12-r1, and cython-3.1.0_beta1-r1 was installed just before this package.
Created attachment 925448 [details] emerge --info
OK, so: def _respond_query( self, msg: DNSIncoming | None, addr: _str, port: _int, transport: _WrappedTransport, v6_flow_scope: tuple[()] | tuple[int, int], vs cpdef _respond_query( self, object msg, object addr, object port, object transport, tuple v6_flow_scope ) They even get 'msg' right for handle_query_or_defer, but not for _respond_query.
I started fixing these but then hit some weirdness with Optional. https://cython.readthedocs.io/en/latest/src/tutorial/pure.html#typing-module implies it should work but it didn't seem to for me.