Package: src:python-incomfort-client Version: 0.6.3.1-2 Severity: serious Tags: ftbfs forky sid User: [email protected] Usertags: aiohttp-3.14
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-incomfort-client, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3 dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3 dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild [... snipped ...] index = 2 gateways = ({'heaterlist': ['2110f25190', None, None, None, None, None, ...]}, {'heaterlist': ['2110f25190', '2110f25191', None, None, None, None, ...]}, {'heaterlist': [None, '000W00000', None, None, '2110f25190', None, ...]}) @pytest.mark.asyncio @pytest.mark.parametrize("index", range(len(GATEWAYS_WITH_HEATERS))) async def test_heaterlist_valid(index, gateways=GATEWAYS_WITH_HEATERS): > gwy = await gwy_with_heaterlist(HOSTNAME, heaterlist=gateways[index]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_gateway.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/common.py:35: in gwy_with_heaterlist await gwy.heaters() incomfortclient/__init__.py:204: in heaters heaters = dict(await self._get("heaterlist.json"))[HEATERLIST] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incomfortclient/__init__.py:153: in _get async with self._gateway._session.get( /usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ <string>:3: in _request ??? /usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:456: in match response_or_exc = await matcher.build_response( /usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <aioresponses.core.RequestMatch object at 0x7f6cb315f2f0> url = URL('http://192.168.0.1/heaterlist.json'), method = 'get' request_headers = {}, status = 200 body = b'{"heaterlist": [null, "000W00000", null, null, "2110f25190", null, null, null]}' content_type = 'application/json' payload = {'heaterlist': [None, '000W00000', None, None, '2110f25190', None, ...]} headers = None, response_class = <class 'aiohttp.client_reqrep.ClientResponse'> reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[Dict] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[Dict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = {} loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs = {} # type: Dict[str, Any] kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(CIMultiDict(**request_headers)), ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' /usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError ____________________________ test_heater_sans_rooms ____________________________ @pytest.mark.asyncio async def test_heater_sans_rooms(): > heater = await heater_with_status(HEATER_SANS_ROOMS[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_heater.py:117: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/common.py:55: in heater_with_status heaters = await gwy.heaters() ^^^^^^^^^^^^^^^^^^^ incomfortclient/__init__.py:204: in heaters heaters = dict(await self._get("heaterlist.json"))[HEATERLIST] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incomfortclient/__init__.py:153: in _get async with self._gateway._session.get( /usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ <string>:3: in _request ??? /usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:456: in match response_or_exc = await matcher.build_response( /usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <aioresponses.core.RequestMatch object at 0x7f6cb28ae8b0> url = URL('http://192.168.0.1/heaterlist.json'), method = 'get' request_headers = {}, status = 200 body = b'{"heaterlist": ["2110f25190", null, null, null, null, null, null, null]}' content_type = 'application/json' payload = {'heaterlist': ['2110f25190', None, None, None, None, None, ...]} headers = None, response_class = <class 'aiohttp.client_reqrep.ClientResponse'> reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[Dict] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[Dict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = {} loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs = {} # type: Dict[str, Any] kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(CIMultiDict(**request_headers)), ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' /usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError ____________________________ test_heater_with_rooms ____________________________ @pytest.mark.asyncio async def test_heater_with_rooms(): > heater = await heater_with_status(HEATER_WITH_ROOMS[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_heater.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/common.py:55: in heater_with_status heaters = await gwy.heaters() ^^^^^^^^^^^^^^^^^^^ incomfortclient/__init__.py:204: in heaters heaters = dict(await self._get("heaterlist.json"))[HEATERLIST] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incomfortclient/__init__.py:153: in _get async with self._gateway._session.get( /usr/lib/python3/dist-packages/aiohttp/client.py:1683: in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ <string>:3: in _request ??? /usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/aioresponses/core.py:456: in match response_or_exc = await matcher.build_response( /usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response resp = self._build_response( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <aioresponses.core.RequestMatch object at 0x7f6cb3168b50> url = URL('http://192.168.0.1/heaterlist.json'), method = 'get' request_headers = {}, status = 200 body = b'{"heaterlist": ["2110f25190", null, null, null, null, null, null, null]}' content_type = 'application/json' payload = {'heaterlist': ['2110f25190', None, None, None, None, None, ...]} headers = None, response_class = <class 'aiohttp.client_reqrep.ClientResponse'> reason = 'OK' def _build_response(self, url: 'Union[URL, str]', method: str = hdrs.METH_GET, request_headers: Optional[Dict] = None, status: int = 200, body: Union[str, bytes] = '', content_type: str = 'application/json', payload: Optional[Dict] = None, headers: Optional[Dict] = None, response_class: Optional[Type[ClientResponse]] = None, reason: Optional[str] = None) -> ClientResponse: if response_class is None: response_class = ClientResponse if payload is not None: body = json.dumps(payload) if not isinstance(body, bytes): body = str.encode(body) if request_headers is None: request_headers = {} loop = Mock() loop.get_debug = Mock() loop.get_debug.return_value = True kwargs = {} # type: Dict[str, Any] kwargs['request_info'] = RequestInfo( url=url, method=method, headers=CIMultiDictProxy(CIMultiDict(**request_headers)), ) kwargs['writer'] = None kwargs['continue100'] = None kwargs['timer'] = TimerNoop() kwargs['traces'] = [] kwargs['loop'] = loop kwargs['session'] = None # We need to initialize headers manually _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type}) if headers: _headers.update(headers) raw_headers = self._build_raw_headers(_headers) > resp = response_class(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' /usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError =========================== short test summary info ============================ FAILED tests/test_gateway.py::test_heaterlist_empty[0] - TypeError: ClientRes... FAILED tests/test_gateway.py::test_heaterlist_empty[1] - TypeError: ClientRes... FAILED tests/test_gateway.py::test_heaterlist_empty[2] - TypeError: ClientRes... FAILED tests/test_gateway.py::test_heaterlist_valid[0] - TypeError: ClientRes... FAILED tests/test_gateway.py::test_heaterlist_valid[1] - TypeError: ClientRes... FAILED tests/test_gateway.py::test_heaterlist_valid[2] - TypeError: ClientRes... FAILED tests/test_heater.py::test_heater_sans_rooms - TypeError: ClientRespon... FAILED tests/test_heater.py::test_heater_with_rooms - TypeError: ClientRespon... ========================= 8 failed, 1 passed in 0.41s ========================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

