0.72.0: build fails
I'm using cython 3.x.
+ /usr/bin/python3 -sBm build -w --no-isolation * Getting build dependencies for wheel... * Building wheel... Compiling src/zeroconf/_dns.py because it changed. Compiling src/zeroconf/_cache.py because it changed. Compiling src/zeroconf/_protocol/incoming.py because it changed. Compiling src/zeroconf/_protocol/outgoing.py because it changed. [1/4] Cythonizing src/zeroconf/_cache.py [2/4] Cythonizing src/zeroconf/_dns.py Error compiling Cython file: ------------------------------------------------------------ ... def __eq__(self, other: Any) -> bool: # pylint: disable=no-self-use """Abstract method""" raise AbstractMethodException def suppressed_by(self, msg: 'DNSIncoming') -> bool: ^ ------------------------------------------------------------ src/zeroconf/_dns.py:174:28: Compiler crash in AnalyseDeclarationsTransform File 'ModuleNode.py', line 124, in analyse_declarations: ModuleNode(_dns.py:1:0, doc = ' Multicast DNS Service Discovery for Python, v0.14-wmcbrine\n Copyright 2003 Paul Scott-Murphy, 2014 William McBrine\n\n This module provides a framework for the use of DNS Service Discovery\n using IP multicast.\n\n This library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n version 2.1 of the License, or (at your option) any later version.\n\n This library is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n Lesser General Public License for more details.\n\n You should have received a copy of the GNU Lesser General Public\n License along with this library; if not, write to the Free Software\n Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301\n USA\n', full_module_name = 'zeroconf._dns') File 'Nodes.py', line 431, in analyse_declarations: StatListNode(_dns.py:23:0) File 'Nodes.py', line 431, in analyse_declarations: StatListNode(_dns.py:156:0) File 'Nodes.py', line 4817, in analyse_declarations: CClassDefNode(_dns.py:156:0, class_name = 'DNSRecord', doc = 'A DNS record - like a DNS entry, but has a TTL', visibility = 'private') File 'Nodes.py', line 431, in analyse_declarations: StatListNode(_dns.py:158:4) File 'Nodes.py', line 2359, in analyse_declarations: CFuncDefNode(_dns.py:174:4, doc = 'Returns true if any answer in a message can suffice for the\n information held in this record.', is_c_class_method = 1, modifiers = [...]/0, overridable = 1, visibility = 'private') File 'Nodes.py', line 681, in analyse: CFuncDeclaratorNode(_dns.py:174:4, calling_convention = '') File 'Nodes.py', line 909, in analyse: CArgDeclNode(_dns.py:174:28, is_generic = 1, outer_attrs = [...]/2) Compiler crash traceback from this point on: File "/usr/lib64/python3.8/site-packages/Cython/Compiler/Nodes.py", line 909, in analyse if self.annotation and env and env.directives['annotation_typing'] and self.base_type.name is None: AttributeError: 'CAnalysedBaseTypeNode' object has no attribute 'name' running build running build_py creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/__init__.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_cache.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_core.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_dns.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_exceptions.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_handlers.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_history.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_logger.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_updates.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/asyncio.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/const.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol copying src/zeroconf/_protocol/__init__.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol copying src/zeroconf/_protocol/incoming.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol copying src/zeroconf/_protocol/outgoing.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services copying src/zeroconf/_services/__init__.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services copying src/zeroconf/_services/browser.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services copying src/zeroconf/_services/info.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services copying src/zeroconf/_services/registry.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services copying src/zeroconf/_services/types.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_services creating /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_utils/__init__.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_utils/asyncio.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_utils/name.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_utils/net.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_utils/time.py -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_utils copying src/zeroconf/_cache.pxd -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_dns.pxd -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/py.typed -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_cache.c -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_dns.c -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf copying src/zeroconf/_protocol/incoming.pxd -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol copying src/zeroconf/_protocol/outgoing.pxd -> /home/tkloczko/rpmbuild/BUILD/python-zeroconf-0.72.0/build/lib/zeroconf/_protocol Successfully built zeroconf-0.72.0-cp38-cp38-manylinux_2_37_x86_64.whl
Result of above is .whl archive without DSOs.