Package: src:pysmartthings Version: 3.7.3-1 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:pysmartthings, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14 [... snipped ...] /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 0x7ff8a50a96d0> url = URL('https://api.smartthings.com/v1/installedapps/4514eb36-f5fd-4ab2-9520-0597acd1d212') method = 'delete' request_headers = {'Accept': 'application/vnd.smartthings+json;v=20250122', 'Authorization': 'Bearer abcabcabcabc'} status = 200, body = b'', content_type = 'application/json', payload = 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_get_installed_app ____________________________ client = SmartThings(request_timeout=10, _close_session=False, _token='token', session=<aiohttp.client.ClientSession object at ...device_availability_event_listeners={}, _SmartThings__device_lifecycle_event_listeners={}, _SmartThings__retry_count=0) responses = <aioresponses.core.aioresponses object at 0x7ff8a54dcc50> snapshot = SnapshotAssertion(name='snapshot', num_executions=0) async def test_get_installed_app( client: SmartThings, responses: aioresponses, snapshot: SnapshotAssertion, ) -> None: """Test getting an installed SmartApp.""" responses.get( f"{MOCK_URL}/v1/installedapps/4514eb36-f5fd-4ab2-9520-0597acd1d212", status=200, body=load_fixture("installedapp_get_response.json"), ) assert ( > await client.get_installed_app( "abcabcabcabc", "4514eb36-f5fd-4ab2-9520-0597acd1d212" ) == snapshot ) tests/test_smartapp.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pysmartthings/smartthings.py:372: in get_installed_app resp = await self.__internal_request(METH_GET, url, headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pysmartthings/smartthings.py:140: in __internal_request response = await self.session.request( <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 0x7ff8a56a0950> url = URL('https://api.smartthings.com/v1/installedapps/4514eb36-f5fd-4ab2-9520-0597acd1d212') method = 'get' request_headers = {'Accept': 'application/vnd.smartthings+json;v=20250122', 'Authorization': 'Bearer abcabcabcabc'} status = 200 body = b'{\n "installedAppId": "4514eb36-f5fd-4ab2-9520-0597acd1d212",\n "installedAppType": "WEBHOOK_SMART_APP",\n "insta...DashboardCardsEnabled": false\n },\n "iconImage": {\n "url": null\n },\n "classifications": ["AUTOMATION"]\n}\n' content_type = 'application/json', payload = 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 --------------------------- snapshot report summary ---------------------------- 100 snapshots unused. Re-run pytest with --snapshot-update to delete unused snapshots. =========================== short test summary info ============================ FAILED tests/test_device.py::test_fetching_devices[devices_2] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_3] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_4] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_5] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_6] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_7] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_8] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_9] - TypeError: Cl... FAILED tests/test_device.py::test_fetching_devices[devices_10] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_11] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_12] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_13] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_14] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_15] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_16] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_17] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_18] - TypeError: C... FAILED tests/test_device.py::test_fetching_devices[devices_fake] - TypeError:... FAILED tests/test_device.py::test_fetching_specific_devices[kwargs0-params0] FAILED tests/test_device.py::test_fetching_specific_devices[kwargs1-params1] FAILED tests/test_device.py::test_fetching_specific_devices[kwargs2-params2] FAILED tests/test_device.py::test_fetching_specific_devices[kwargs3-params3] FAILED tests/test_device.py::test_fetching_single_device - TypeError: ClientR... FAILED tests/test_device.py::test_fetching_status_of_single_device[hue_color_temperature_bulb] FAILED tests/test_device.py::test_fetching_status_of_single_device[hue_rgbw_color_bulb] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_shade] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_motion_2] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_thermostat_bridge_1] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_humidity] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_switch] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ks_range_0101x] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ks_walloven_000003] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_wd_00001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_dw_00001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ks_microwave_0101x] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ref_normal_01001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ref_normal_01011] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ref_normal_01011_1] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ref_normal_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_rvc_normal_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_wm_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_wm_000001_2] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_wm_000001_3] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_wm_sc_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[hub] - Typ... FAILED tests/test_device.py::test_fetching_status_of_single_device[im_smarttag_ble_uwb] FAILED tests/test_device.py::test_fetching_status_of_single_device[im_smarttag2_ble_uwb] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ac_therac_01011] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ac_rac_01001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ac_rac_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_ac_rac_000003] FAILED tests/test_device.py::test_fetching_status_of_single_device[da_sac_wifikit_000001] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_network_audio_002s] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_network_audio_003s] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_arlo_pro_3_switch] FAILED tests/test_device.py::test_fetching_status_of_single_device[switch_level] FAILED tests/test_device.py::test_fetching_status_of_single_device[centralite] FAILED tests/test_device.py::test_fetching_status_of_single_device[sengled] FAILED tests/test_device.py::test_fetching_status_of_single_device[ikea_floor_lamp] FAILED tests/test_device.py::test_fetching_status_of_single_device[ge_in_wall_smart_dimmer] FAILED tests/test_device.py::test_fetching_status_of_single_device[zooz_zen16_multirelay] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_arlo_go_switch] FAILED tests/test_device.py::test_fetching_status_of_single_device[multipurpose_sensor] FAILED tests/test_device.py::test_fetching_status_of_single_device[yale_push_button_deadbolt_lock] FAILED tests/test_device.py::test_fetching_status_of_single_device[27_smart_monitor_m5] FAILED tests/test_device.py::test_fetching_status_of_single_device[contact_sensor] FAILED tests/test_device.py::test_fetching_status_of_single_device[ge_dimmer_assoc] FAILED tests/test_device.py::test_fetching_status_of_single_device[car_garage_door] FAILED tests/test_device.py::test_fetching_status_of_single_device[ikea_e26] FAILED tests/test_device.py::test_fetching_status_of_single_device[switch_binary_indicator] FAILED tests/test_device.py::test_fetching_status_of_single_device[ledvance_switch] FAILED tests/test_device.py::test_fetching_status_of_single_device[basic_electric_meter] FAILED tests/test_device.py::test_fetching_status_of_single_device[iphone] - ... FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_stv_2017_k] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_stv_2021] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_stv_2022] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_stv_2023] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_stv_2023_1] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_frame_2024] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_sensor_light_2023] FAILED tests/test_device.py::test_fetching_status_of_single_device[vd_sensor_sound_2023] FAILED tests/test_device.py::test_fetching_status_of_single_device[virtual_calendar] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_arlo_siren] FAILED tests/test_device.py::test_fetching_status_of_single_device[c2c_arlo_doorbell_battery] FAILED tests/test_device.py::test_fetching_status_of_single_device[ikea_remote_control] FAILED tests/test_device.py::test_fetching_status_of_single_device[base_lock] FAILED tests/test_device.py::test_fetching_status_of_single_device[main_virtual_device] FAILED tests/test_device.py::test_fetching_status_of_single_device[soundbar_hw_q80_r] FAILED tests/test_device.py::test_fetching_status_of_single_device[sensibo_airconditioner_1] FAILED tests/test_device.py::test_fetching_status_of_single_device[aeotec_home_energy_meter_gen5] FAILED tests/test_device.py::test_fetching_status_of_single_device[virtual_water_sensor] FAILED tests/test_device.py::test_fetching_status_of_single_device[virtual_thermostat] FAILED tests/test_device.py::test_fetching_status_of_single_device[virtual_valve] FAILED tests/test_device.py::test_fetching_status_of_single_device[ecobee_thermostat] FAILED tests/test_device.py::test_fetching_status_of_single_device[ecobee_sensor] FAILED tests/test_device.py::test_fetching_health - TypeError: ClientResponse... FAILED tests/test_device.py::test_executing_command[colorTemperature-setColorTemperature-3000-set_color_temperature] FAILED tests/test_device.py::test_executing_command_error - TypeError: Client... FAILED tests/test_device.py::test_fetching_unknown_capability - TypeError: Cl... FAILED tests/test_device.py::test_fetching_unknown_category - TypeError: Clie... FAILED tests/test_device.py::test_fetching_multiple_pages - TypeError: Client... FAILED tests/test_device.py::test_fetching_multiple_pages_raw - TypeError: Cl... FAILED tests/test_location.py::test_fetching_all_locations - TypeError: Clien... FAILED tests/test_location.py::test_fetching_single_location - TypeError: Cli... FAILED tests/test_room.py::test_fetching_all_rooms - TypeError: ClientRespons... FAILED tests/test_room.py::test_fetching_single_room - TypeError: ClientRespo... FAILED tests/test_scenes.py::test_fetching_all_scenes - TypeError: ClientResp... FAILED tests/test_scenes.py::test_fetch_scenes_for_location - TypeError: Clie... FAILED tests/test_scenes.py::test_executing_scene - TypeError: ClientResponse... FAILED tests/test_smartapp.py::test_deleting_smart_app - TypeError: ClientRes... FAILED tests/test_smartapp.py::test_deleting_installed_app - TypeError: Clien... FAILED tests/test_smartapp.py::test_get_installed_app - TypeError: ClientResp... ============================= 112 failed in 5.83s ============================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --no-cov 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:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

