Package: src:python-uiprotect
Version: 6.1.0-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3,sphinxdoc --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:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_uiprotect  
* Building wheel...

[... snipped ...]

[gw0] [ 68%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration1-None-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration1-fulltime-off]
 
[gw1] [ 68%] PASSED 
tests/data/test_nvr.py::test_nvr_set_license_plate_recognition_no_smart 
tests/data/test_sensor.py::test_sensor_set_status_light[True] 
[gw0] [ 68%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration1-fulltime-off]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration1-fulltime-always]
 
[gw0] [ 68%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration1-fulltime-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-None-off] 
[gw1] [ 69%] PASSED 
tests/data/test_sensor.py::test_sensor_set_status_light[True] 
tests/data/test_sensor.py::test_sensor_set_status_light[False] 
[gw0] [ 69%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-None-off] 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-None-always]
 
[gw1] [ 69%] PASSED 
tests/data/test_sensor.py::test_sensor_set_status_light[False] 
tests/data/test_sensor.py::test_sensor_set_mount_type[door] 
[gw0] [ 69%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-None-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-fulltime-off]
 
[gw1] [ 69%] PASSED tests/data/test_sensor.py::test_sensor_set_mount_type[door] 
tests/data/test_sensor.py::test_sensor_set_mount_type[none] 
[gw0] [ 70%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-fulltime-off]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-fulltime-always]
 
[gw1] [ 70%] PASSED tests/data/test_sensor.py::test_sensor_set_mount_type[none] 
tests/data/test_sensor.py::test_sensor_set_motion_status[True] 
[gw0] [ 70%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration2-fulltime-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-None-off] 
[gw1] [ 70%] PASSED 
tests/data/test_sensor.py::test_sensor_set_motion_status[True] 
tests/data/test_sensor.py::test_sensor_set_motion_status[False] 
[gw0] [ 70%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-None-off] 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-None-always]
 
[gw1] [ 71%] PASSED 
tests/data/test_sensor.py::test_sensor_set_motion_status[False] 
tests/data/test_sensor.py::test_sensor_set_temperature_status[True] 
[gw0] [ 71%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-None-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-fulltime-off]
 
[gw1] [ 71%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_status[True] 
tests/data/test_sensor.py::test_sensor_set_temperature_status[False] 
[gw0] [ 71%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-fulltime-off]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-fulltime-always]
 
[gw1] [ 71%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_status[False] 
tests/data/test_sensor.py::test_sensor_set_humidity_status[True] 
[gw0] [ 71%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration3-fulltime-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-None-off] 
[gw0] [ 72%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-None-off] 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-None-always]
 
[gw0] [ 72%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-None-always]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-fulltime-off]
 
[gw1] [ 72%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_status[True] 
tests/data/test_sensor.py::test_sensor_set_humidity_status[False] 
[gw0] [ 72%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-fulltime-off]
 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-fulltime-always]
 
[gw0] [ 72%] PASSED 
tests/data/test_light.py::test_light_set_light_settings[-10-duration4-fulltime-always]
 
tests/data/test_nvr.py::test_nvr_set_insights[True] 
[gw1] [ 73%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_status[False] 
tests/data/test_sensor.py::test_sensor_set_light_status[True] 
[gw0] [ 73%] PASSED tests/data/test_nvr.py::test_nvr_set_insights[True] 
tests/data/test_nvr.py::test_nvr_set_insights[False] 
[gw1] [ 73%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_status[True] 
tests/data/test_sensor.py::test_sensor_set_light_status[False] 
[gw0] [ 73%] PASSED tests/data/test_nvr.py::test_nvr_set_insights[False] 
tests/data/test_nvr.py::test_nvr_set_anonymous_analytics 
[gw1] [ 73%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_status[False] 
tests/data/test_sensor.py::test_sensor_set_alarm_status[True] 
[gw0] [ 74%] PASSED tests/data/test_nvr.py::test_nvr_set_anonymous_analytics 
tests/data/test_nvr.py::test_nvr_set_default_reset_timeout 
[gw1] [ 74%] PASSED 
tests/data/test_sensor.py::test_sensor_set_alarm_status[True] 
tests/data/test_sensor.py::test_sensor_set_alarm_status[False] 
[gw0] [ 74%] PASSED tests/data/test_nvr.py::test_nvr_set_default_reset_timeout 
tests/data/test_nvr.py::test_nvr_set_default_doorbell_message[Test] 
[gw1] [ 74%] PASSED 
tests/data/test_sensor.py::test_sensor_set_alarm_status[False] 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[1] 
[gw0] [ 74%] PASSED 
tests/data/test_nvr.py::test_nvr_set_default_doorbell_message[Test] 
tests/data/test_nvr.py::test_nvr_set_default_doorbell_message[fqthpqBgVMKXp9jXX2VeuGeXYfx2mMjB]
 
[gw1] [ 75%] PASSED 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[1] 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[100] 
[gw0] [ 75%] PASSED 
tests/data/test_nvr.py::test_nvr_set_default_doorbell_message[fqthpqBgVMKXp9jXX2VeuGeXYfx2mMjB]
 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[Welcome] 
[gw0] [ 75%] PASSED 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[Welcome] 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[Test] 
[gw1] [ 75%] PASSED 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[100] 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[-10] 
[gw0] [ 75%] PASSED 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[Test] 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[fqthpqBgVMKXp9jXX2VeuGeXYfx2mMjB]
 
[gw0] [ 76%] PASSED 
tests/data/test_nvr.py::test_nvr_add_custom_doorbell_message[fqthpqBgVMKXp9jXX2VeuGeXYfx2mMjB]
 
tests/data/test_nvr.py::test_nvr_remove_custom_doorbell_message[Welcome] 
[gw0] [ 76%] PASSED 
tests/data/test_nvr.py::test_nvr_remove_custom_doorbell_message[Welcome] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-50.0] 
[gw0] [ 76%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-50.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-0.0] 
[gw1] [ 76%] PASSED 
tests/data/test_sensor.py::test_sensor_set_motion_sensitivity[-10] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0--1.0] 
[gw0] [ 76%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-1.0] 
[gw1] [ 77%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0--1.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0-0.0] 
[gw0] [ 77%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-1.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-50.0] 
[gw1] [ 77%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0-25.0] 
[gw1] [ 77%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[20.0-25.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0--1.0] 
[gw1] [ 77%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0--1.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0-0.0] 
[gw0] [ 78%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[99.0-50.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-0.0] 
[gw0] [ 78%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-1.0] 
[gw0] [ 78%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-1.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-50.0] 
[gw1] [ 78%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0-25.0] 
[gw0] [ 78%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[100.0-50.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-0.0] 
[gw0] [ 79%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-1.0] 
[gw1] [ 79%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[45.0-25.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0--1.0] 
[gw1] [ 79%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0--1.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0-0.0] 
[gw0] [ 79%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-1.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-500.0] 
[gw1] [ 79%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0-25.0] 
[gw1] [ 80%] PASSED 
tests/data/test_sensor.py::test_sensor_set_temperature_safe_range[50.0-25.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-0.0] 
[gw1] [ 80%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-1.0] 
[gw0] [ 80%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[400.0-500.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-0.0] 
[gw0] [ 80%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-1.0] 
[gw1] [ 80%] PASSED 
tests/data/test_sensor.py::test_sensor_set_humidity_safe_range[45.0-1.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-500.0] 
[gw1] [ 81%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-500.0] 
tests/data/test_sensor.py::test_sensor_remove_temperature_safe_range 
[gw0] [ 81%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-1.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-500.0] 
[gw1] [ 81%] PASSED 
tests/data/test_sensor.py::test_sensor_remove_temperature_safe_range 
tests/data/test_sensor.py::test_sensor_remove_humidity_safe_range 
[gw0] [ 81%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1000.0-500.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-0.0] 
[gw0] [ 81%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-0.0] 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-1.0] 
[gw0] [ 82%] PASSED 
tests/data/test_sensor.py::test_sensor_set_light_safe_range[1001.0-1.0] 
tests/test_api.py::test_bootstrap_get_device_from_mac_bad_mac 
[gw1] [ 82%] PASSED 
tests/data/test_sensor.py::test_sensor_remove_humidity_safe_range 
tests/data/test_sensor.py::test_sensor_remove_light_safe_range 
[gw0] [ 82%] PASSED 
tests/test_api.py::test_bootstrap_get_device_from_mac_bad_mac 
tests/test_api.py::test_connection_host 
[gw0] [ 82%] PASSED tests/test_api.py::test_connection_host 
tests/test_api.py::test_connection_host_override 
[gw0] [ 82%] PASSED tests/test_api.py::test_connection_host_override 
tests/test_api.py::test_force_update 
[gw0] [ 83%] PASSED tests/test_api.py::test_force_update 
tests/test_api.py::test_get_nvr 
[gw1] [ 83%] PASSED 
tests/data/test_sensor.py::test_sensor_remove_light_safe_range 
tests/data/test_sensor.py::test_sensor_set_paired_camera_none 
[gw0] [ 83%] PASSED tests/test_api.py::test_get_nvr 
tests/test_api.py::test_bootstrap 
[gw0] [ 83%] PASSED tests/test_api.py::test_bootstrap 
tests/test_api.py::test_bootstrap_cached_property 
[gw0] [ 83%] PASSED tests/test_api.py::test_bootstrap_cached_property 
tests/test_api.py::test_bootstrap_construct 
[gw0] [ 84%] PASSED tests/test_api.py::test_bootstrap_construct 
[gw1] [ 84%] PASSED 
tests/data/test_sensor.py::test_sensor_set_paired_camera_none 
tests/test_api.py::test_get_events_raw_default 
tests/data/test_sensor.py::test_sensor_set_paired_camera 
[gw0] [ 84%] PASSED tests/test_api.py::test_get_events_raw_default 
tests/test_api.py::test_get_events_raw_limit 
[gw0] [ 84%] PASSED tests/test_api.py::test_get_events_raw_limit 
tests/test_api.py::test_get_events_raw_types 
[gw1] [ 84%] PASSED tests/data/test_sensor.py::test_sensor_set_paired_camera 
tests/data/test_types.py::test_model_type_from_string 
[gw1] [ 85%] PASSED tests/data/test_types.py::test_model_type_from_string 
[gw0] [ 85%] PASSED tests/test_api.py::test_get_events_raw_types 
tests/data/test_viewer.py::test_viewer_set_liveview_invalid 
tests/test_api.py::test_get_events 
[gw1] [ 85%] PASSED tests/data/test_viewer.py::test_viewer_set_liveview_invalid 
tests/data/test_viewer.py::test_viewer_set_liveview_valid 
[gw1] [ 85%] PASSED tests/data/test_viewer.py::test_viewer_set_liveview_valid 
tests/test_api.py::test_base_url 
[gw1] [ 85%] PASSED tests/test_api.py::test_base_url 
tests/test_api.py::test_api_client_creation 
[gw1] [ 85%] PASSED tests/test_api.py::test_api_client_creation 
tests/test_api.py::test_early_bootstrap 
[gw1] [ 86%] PASSED tests/test_api.py::test_early_bootstrap 
tests/test_api.py::test_bootstrap_get_device_from_mac 
[gw1] [ 86%] PASSED tests/test_api.py::test_bootstrap_get_device_from_mac 
tests/test_api.py::test_get_bridge 
[gw1] [ 86%] PASSED tests/test_api.py::test_get_bridge 
tests/test_api.py::test_get_liveview 
[gw1] [ 86%] PASSED tests/test_api.py::test_get_liveview 
tests/test_api.py::test_get_devices_mismatch 
[gw1] [ 86%] PASSED tests/test_api.py::test_get_devices_mismatch 
tests/test_api.py::test_get_devices_not_adopted 
[gw0] [ 87%] PASSED tests/test_api.py::test_get_events 
tests/test_api.py::test_get_events_not_event 
[gw1] [ 87%] PASSED tests/test_api.py::test_get_devices_not_adopted 
tests/test_api.py::test_get_devices_not_adopted_enabled 
[gw0] [ 87%] PASSED tests/test_api.py::test_get_events_not_event 
tests/test_api.py::test_get_events_not_event_with_type 
[gw1] [ 87%] PASSED tests/test_api.py::test_get_devices_not_adopted_enabled 
tests/test_api.py::test_get_cameras 
[gw0] [ 87%] PASSED tests/test_api.py::test_get_events_not_event_with_type 
tests/test_api.py::test_get_device_mismatch 
[gw1] [ 88%] PASSED tests/test_api.py::test_get_cameras 
tests/test_api.py::test_get_lights 
[gw0] [ 88%] PASSED tests/test_api.py::test_get_device_mismatch 
tests/test_api.py::test_get_device_not_adopted 
[gw1] [ 88%] PASSED tests/test_api.py::test_get_lights 
tests/test_api.py::test_get_sensors 
[gw0] [ 88%] PASSED tests/test_api.py::test_get_device_not_adopted 
tests/test_api.py::test_get_device_not_adopted_enabled 
[gw1] [ 88%] PASSED tests/test_api.py::test_get_sensors 
tests/test_api.py::test_get_viewers 
[gw0] [ 89%] PASSED tests/test_api.py::test_get_device_not_adopted_enabled 
tests/test_api.py::test_get_camera 
[gw1] [ 89%] PASSED tests/test_api.py::test_get_viewers 
tests/test_api.py::test_get_bridges 
[gw1] [ 89%] PASSED tests/test_api.py::test_get_bridges 
tests/test_api.py::test_get_liveviews 
[gw0] [ 89%] PASSED tests/test_api.py::test_get_camera 
tests/test_api.py::test_get_light 
[gw1] [ 89%] PASSED tests/test_api.py::test_get_liveviews 
tests/test_api.py::test_get_camera_snapshot 
[gw0] [ 90%] PASSED tests/test_api.py::test_get_light 
tests/test_api.py::test_get_sensor 
[gw0] [ 90%] PASSED tests/test_api.py::test_get_sensor 
tests/test_api.py::test_get_viewer 
[gw1] [ 90%] PASSED tests/test_api.py::test_get_camera_snapshot 
tests/test_api.py::test_get_pacakge_camera_snapshot 
[gw0] [ 90%] PASSED tests/test_api.py::test_get_viewer 
tests/test_api.py::test_get_camera_video 
[gw1] [ 90%] PASSED tests/test_api.py::test_get_pacakge_camera_snapshot 
tests/test_api.py::test_get_camera_snapshot_args 
[gw1] [ 91%] PASSED tests/test_api.py::test_get_camera_snapshot_args 
tests/test_api.py::test_get_package_camera_snapshot_args 
[gw1] [ 91%] PASSED tests/test_api.py::test_get_package_camera_snapshot_args 
tests/test_api_polling.py::test_process_events_motion 
[gw1] [ 91%] PASSED tests/test_api_polling.py::test_process_events_motion 
tests/test_api_polling.py::test_process_events_smart 
[gw1] [ 91%] PASSED tests/test_api_polling.py::test_process_events_smart 
tests/test_api_ws.py::test_ws_all 
[gw0] [ 91%] PASSED tests/test_api.py::test_get_camera_video 
tests/test_api.py::test_get_event_thumbnail 
[gw0] [ 92%] PASSED tests/test_api.py::test_get_event_thumbnail 
tests/test_api.py::test_get_event_thumbnail_args 
[gw0] [ 92%] PASSED tests/test_api.py::test_get_event_thumbnail_args 
tests/test_api.py::test_get_event_heatmap 
[gw0] [ 92%] PASSED tests/test_api.py::test_get_event_heatmap 
tests/test_api.py::test_get_event_smart_detect_track 
[gw0] [ 92%] PASSED tests/test_api.py::test_get_event_smart_detect_track 
tests/test_api_polling.py::test_process_events_none 
[gw0] [ 92%] PASSED tests/test_api_polling.py::test_process_events_none 
tests/test_api_polling.py::test_process_events_ring 
[gw0] [ 93%] PASSED tests/test_api_polling.py::test_process_events_ring 
tests/test_api_ws.py::test_ws_event_smart 
[gw0] [ 93%] PASSED tests/test_api_ws.py::test_ws_event_smart 
tests/test_api_ws.py::test_ws_event_update 
[gw0] [ 93%] PASSED tests/test_api_ws.py::test_ws_event_update 
tests/test_api_ws.py::test_ws_emit_alarm_callback 
[gw0] [ 93%] PASSED tests/test_api_ws.py::test_ws_emit_alarm_callback 
tests/test_api_ws.py::test_check_ws_connected 
[gw0] [ 93%] PASSED tests/test_api_ws.py::test_check_ws_connected 
tests/test_api_ws.py::test_check_ws_connected_state_callback 
[gw1] [ 94%] PASSED tests/test_api_ws.py::test_ws_all 
tests/test_api_ws.py::test_ws_filtered 
[gw0] [ 94%] PASSED 
tests/test_api_ws.py::test_check_ws_connected_state_callback 
tests/test_api_ws.py::test_check_ws_no_ws_initial 
[gw0] [ 94%] PASSED tests/test_api_ws.py::test_check_ws_no_ws_initial 
tests/test_api_ws.py::test_ws_ignores_nvr_mac_and_guid 
[gw0] [ 94%] PASSED tests/test_api_ws.py::test_ws_ignores_nvr_mac_and_guid 
tests/test_cli.py::test_help 
[gw0] [ 94%] FAILED tests/test_cli.py::test_help 
tests/test_dunder_main.py::test_can_run_as_python_module 
[gw0] [ 95%] FAILED tests/test_dunder_main.py::test_can_run_as_python_module 
tests/test_utils.py::test_dict_diff_equal 
[gw0] [ 95%] PASSED tests/test_utils.py::test_dict_diff_equal 
tests/test_utils.py::test_dict_diff_new_keys 
[gw0] [ 95%] PASSED tests/test_utils.py::test_dict_diff_new_keys 
tests/test_utils.py::test_dict_diff_new_changed 
[gw0] [ 95%] PASSED tests/test_utils.py::test_dict_diff_new_changed 
tests/test_utils.py::test_to_snake_case 
[gw0] [ 95%] PASSED tests/test_utils.py::test_to_snake_case 
tests/test_utils.py::test_convert_unifi_data[00000000-0000-00 0- 
000-000000000000-field0-output0] 
[gw0] [ 96%] PASSED 
tests/test_utils.py::test_convert_unifi_data[00000000-0000-00 0- 
000-000000000000-field0-output0] 
tests/test_utils.py::test_convert_unifi_data[00000000-0000-0000-0000-000000000000-field1-output1]
 
[gw0] [ 96%] PASSED 
tests/test_utils.py::test_convert_unifi_data[00000000-0000-0000-0000-000000000000-field1-output1]
 
tests/test_utils.py::test_convert_unifi_data[value2-field2-output2] 
[gw0] [ 96%] PASSED 
tests/test_utils.py::test_convert_unifi_data[value2-field2-output2] 
tests/test_utils.py::test_valid_float_timestamp 
[gw0] [ 96%] PASSED tests/test_utils.py::test_valid_float_timestamp 
tests/test_utils.py::test_valid_string_timestamp 
[gw0] [ 96%] PASSED tests/test_utils.py::test_valid_string_timestamp 
tests/test_utils.py::test_valid_datetime_object 
[gw0] [ 97%] PASSED tests/test_utils.py::test_valid_datetime_object 
tests/test_utils.py::test_none_input 
[gw0] [ 97%] PASSED tests/test_utils.py::test_none_input 
tests/test_utils.py::test_invalid_string_input 
[gw0] [ 97%] PASSED tests/test_utils.py::test_invalid_string_input 
tests/test_utils.py::test_caching 
[gw0] [ 97%] PASSED tests/test_utils.py::test_caching 
tests/test_utils.py::test_get_nested_attr 
[gw0] [ 97%] PASSED tests/test_utils.py::test_get_nested_attr 
tests/test_utils.py::test_get_nested_attr_as_bool 
[gw0] [ 98%] PASSED tests/test_utils.py::test_get_nested_attr_as_bool 
tests/test_utils.py::test_get_top_level_attr_as_bool 
[gw0] [ 98%] PASSED tests/test_utils.py::test_get_top_level_attr_as_bool 
tests/test_utils.py::test_make_value_getter 
[gw0] [ 98%] PASSED tests/test_utils.py::test_make_value_getter 
tests/test_utils.py::test_make_value_getter_nested 
[gw0] [ 98%] PASSED tests/test_utils.py::test_make_value_getter_nested 
tests/test_utils.py::test_make_enabled_getter 
[gw0] [ 98%] PASSED tests/test_utils.py::test_make_enabled_getter 
tests/test_utils.py::test_make_enabled_getter_nested 
[gw0] [ 99%] PASSED tests/test_utils.py::test_make_enabled_getter_nested 
tests/test_utils.py::test_make_required_getter 
[gw0] [ 99%] PASSED tests/test_utils.py::test_make_required_getter 
tests/test_utils.py::test_make_required_getter_nested 
[gw0] [ 99%] PASSED tests/test_utils.py::test_make_required_getter_nested 
[gw1] [ 99%] PASSED tests/test_api_ws.py::test_ws_filtered 
tests/test_api_ws.py::test_ws_event_ring 
[gw1] [ 99%] PASSED tests/test_api_ws.py::test_ws_event_ring 
tests/test_api_ws.py::test_ws_event_motion 
[gw1] [100%] PASSED tests/test_api_ws.py::test_ws_event_motion 

=================================== FAILURES ===================================
__________________________________ test_help ___________________________________
[gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    def test_help():
        """The help message includes the CLI name."""
        result = runner.invoke(app, ["--help"])
>       assert result.exit_code == 0
E       assert 1 == 0
E        +  where 1 = <Result TypeError("Parameter.make_metavar() missing 1 
required positional argument: 'ctx'")>.exit_code

tests/test_cli.py:11: AssertionError
________________________ test_can_run_as_python_module _________________________
[gw0] linux -- Python 3.13.2 /usr/bin/python3.13

    def test_can_run_as_python_module():
        """Run the CLI as a Python module."""
>       result = subprocess.run(
            [sys.executable, "-m", "uiprotect", "--help"],  # S603,S607
            check=True,
            capture_output=True,
        )

tests/test_dunder_main.py:7: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

input = None, capture_output = True, timeout = None, check = True
popenargs = (['/usr/bin/python3.13', '-m', 'uiprotect', '--help'],)
kwargs = {'stderr': -1, 'stdout': -1}
process = <Popen: returncode: 1 args: ['/usr/bin/python3.13', '-m', 
'uiprotect', '--he...>
stdout = b'                                                                     
           \n Usage: python -m uiprotect [OPTIO...                              
    \n                                                                          
      \n'
stderr = 
b'\xe2\x95\xad\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94...4\x80\xe2\x94\x80\xe2\x95\xaf\nTypeError:
 Parameter.make_metavar() missing 1 required positional argument: \n\'ctx\'\n'
retcode = 1

    def run(*popenargs,
            input=None, capture_output=False, timeout=None, check=False, 
**kwargs):
        """Run command with arguments and return a CompletedProcess instance.
    
        The returned instance will have attributes args, returncode, stdout and
        stderr. By default, stdout and stderr are not captured, and those 
attributes
        will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture 
them,
        or pass capture_output=True to capture both.
    
        If check is True and the exit code was non-zero, it raises a
        CalledProcessError. The CalledProcessError object will have the return 
code
        in the returncode attribute, and output & stderr attributes if those 
streams
        were captured.
    
        If timeout (seconds) is given and the process takes too long,
         a TimeoutExpired exception will be raised.
    
        There is an optional argument "input", allowing you to
        pass bytes or a string to the subprocess's stdin.  If you use this 
argument
        you may not also use the Popen constructor's "stdin" argument, as
        it will be used internally.
    
        By default, all communication is in bytes, and therefore any "input" 
should
        be bytes, and the stdout and stderr will be bytes. If in text mode, any
        "input" should be a string, and stdout and stderr will be strings 
decoded
        according to locale encoding, or by "encoding" if set. Text mode is
        triggered by setting any of text, encoding, errors or 
universal_newlines.
    
        The other arguments are the same as for the Popen constructor.
        """
        if input is not None:
            if kwargs.get('stdin') is not None:
                raise ValueError('stdin and input arguments may not both be 
used.')
            kwargs['stdin'] = PIPE
    
        if capture_output:
            if kwargs.get('stdout') is not None or kwargs.get('stderr') is not 
None:
                raise ValueError('stdout and stderr arguments may not be used '
                                 'with capture_output.')
            kwargs['stdout'] = PIPE
            kwargs['stderr'] = PIPE
    
        with Popen(*popenargs, **kwargs) as process:
            try:
                stdout, stderr = process.communicate(input, timeout=timeout)
            except TimeoutExpired as exc:
                process.kill()
                if _mswindows:
                    # Windows accumulates the output in a single blocking
                    # read() call run on child threads, with the timeout
                    # being done in a join() on those threads.  communicate()
                    # _after_ kill() is required to collect that and add it
                    # to the exception.
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['/usr/bin/python3.13', 
'-m', 'uiprotect', '--help']' returned non-zero exit status 1.

/usr/lib/python3.13/subprocess.py:579: CalledProcessError
=============================== warnings summary ===============================
tests/test_api_ws.py::test_ws_all
  tests/test_api_ws.py:70: PytestBenchmarkWarning: Benchmark fixture was not 
used at all in this test!
    @pytest.mark.benchmark(group="websockets")

tests/test_utils.py::test_get_nested_attr
  tests/test_utils.py:216: PytestWarning: The test <Function 
test_get_nested_attr> is marked with '@pytest.mark.asyncio' but it is not an 
async function. Please remove the asyncio mark. If the test is not marked 
explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_get_nested_attr_as_bool
  tests/test_utils.py:224: PytestWarning: The test <Function 
test_get_nested_attr_as_bool> is marked with '@pytest.mark.asyncio' but it is 
not an async function. Please remove the asyncio mark. If the test is not 
marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_get_top_level_attr_as_bool
  tests/test_utils.py:232: PytestWarning: The test <Function 
test_get_top_level_attr_as_bool> is marked with '@pytest.mark.asyncio' but it 
is not an async function. Please remove the asyncio mark. If the test is not 
marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_value_getter
  tests/test_utils.py:241: PytestWarning: The test <Function 
test_make_value_getter> is marked with '@pytest.mark.asyncio' but it is not an 
async function. Please remove the asyncio mark. If the test is not marked 
explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_value_getter_nested
  tests/test_utils.py:250: PytestWarning: The test <Function 
test_make_value_getter_nested> is marked with '@pytest.mark.asyncio' but it is 
not an async function. Please remove the asyncio mark. If the test is not 
marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_enabled_getter
  tests/test_utils.py:257: PytestWarning: The test <Function 
test_make_enabled_getter> is marked with '@pytest.mark.asyncio' but it is not 
an async function. Please remove the asyncio mark. If the test is not marked 
explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_enabled_getter_nested
  tests/test_utils.py:266: PytestWarning: The test <Function 
test_make_enabled_getter_nested> is marked with '@pytest.mark.asyncio' but it 
is not an async function. Please remove the asyncio mark. If the test is not 
marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_required_getter
  tests/test_utils.py:274: PytestWarning: The test <Function 
test_make_required_getter> is marked with '@pytest.mark.asyncio' but it is not 
an async function. Please remove the asyncio mark. If the test is not marked 
explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_utils.py::test_make_required_getter_nested
  tests/test_utils.py:284: PytestWarning: The test <Function 
test_make_required_getter_nested> is marked with '@pytest.mark.asyncio' but it 
is not an async function. Please remove the asyncio mark. If the test is not 
marked explicitly, check for global marks applied via 'pytestmark'.
    @pytest.mark.asyncio

tests/test_api_ws.py::test_ws_filtered
  tests/test_api_ws.py:116: PytestBenchmarkWarning: Benchmark fixture was not 
used at all in this test!
    @pytest.mark.benchmark(group="websockets")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_cli.py::test_help - assert 1 == 0
FAILED tests/test_dunder_main.py::test_can_run_as_python_module - subprocess....
================= 2 failed, 505 passed, 11 warnings in 23.40s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_uiprotect/build; python3.13 -m pytest 
tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.13" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

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 could not 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-uiprotect, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to