Control: tags 1098614 + patch Control: tags 1098614 + pending Dear maintainer,
I've prepared an NMU for python-uiprotect (versioned as 6.1.0-2.1) and uploaded it to DELAYED/1. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for python-uiprotect-6.1.0 python-uiprotect-6.1.0 changelog | 7 + patches/0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch | 62 ++++++++++ patches/series | 1 3 files changed, 70 insertions(+) diff -Nru python-uiprotect-6.1.0/debian/changelog python-uiprotect-6.1.0/debian/changelog --- python-uiprotect-6.1.0/debian/changelog 2024-10-13 15:34:17.000000000 +0300 +++ python-uiprotect-6.1.0/debian/changelog 2025-04-13 14:16:31.000000000 +0300 @@ -1,3 +1,10 @@ +python-uiprotect (6.1.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream FTBFS fix. (Closes: #1098614) + + -- Adrian Bunk <b...@debian.org> Sun, 13 Apr 2025 14:16:31 +0300 + python-uiprotect (6.1.0-2) unstable; urgency=medium * Source only upload diff -Nru python-uiprotect-6.1.0/debian/patches/0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch python-uiprotect-6.1.0/debian/patches/0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch --- python-uiprotect-6.1.0/debian/patches/0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch 1970-01-01 02:00:00.000000000 +0200 +++ python-uiprotect-6.1.0/debian/patches/0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch 2025-04-13 14:16:31.000000000 +0300 @@ -0,0 +1,62 @@ +From d7ca678485964d7add22e8edd8d326c6522b4a7d Mon Sep 17 00:00:00 2001 +From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> +Date: Tue, 8 Oct 2024 12:36:06 +0200 +Subject: chore(deps): bump yarl from 1.11.1 to 1.14.0 (#233) + +Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Co-authored-by: J. Nick Koston <n...@koston.org> + +diff --git a/tests/test_api.py b/tests/test_api.py +index 3d9c5b6..0b47d46 100644 +--- a/tests/test_api.py ++++ b/tests/test_api.py +@@ -76,7 +76,7 @@ async def check_camera(camera: Camera): + + camera.last_ring_event # noqa: B018 + +- assert camera.timelapse_url == f"https://127.0.0.1/protect/timelapse/{camera.id}" ++ assert camera.timelapse_url == f"https://127.0.0.1:0/protect/timelapse/{camera.id}" + check_device(camera) + + for channel in camera.channels: +@@ -102,14 +102,14 @@ async def check_camera(camera: Camera): + + + def check_device(device: ProtectAdoptableDeviceModel): +- assert device.protect_url == f"https://127.0.0.1/protect/devices/{device.id}" ++ assert device.protect_url == f"https://127.0.0.1:0/protect/devices/{device.id}" + + + async def check_bootstrap(bootstrap: Bootstrap): + assert bootstrap.auth_user + assert ( + bootstrap.nvr.protect_url +- == f"https://127.0.0.1/protect/devices/{bootstrap.nvr.id}" ++ == f"https://127.0.0.1:0/protect/devices/{bootstrap.nvr.id}" + ) + + for light in bootstrap.lights.values(): +@@ -131,7 +131,8 @@ async def check_bootstrap(bootstrap: Bootstrap): + for liveview in bootstrap.liveviews.values(): + liveview.owner # noqa: B018 + assert ( +- liveview.protect_url == f"https://127.0.0.1/protect/liveview/{liveview.id}" ++ liveview.protect_url ++ == f"https://127.0.0.1:0/protect/liveview/{liveview.id}" + ) + + for slot in liveview.slots: +@@ -156,8 +157,8 @@ async def check_bootstrap(bootstrap: Bootstrap): + def test_base_url(protect_client: ProtectApiClient): + arg = f"{protect_client.ws_path}?lastUpdateId={protect_client.bootstrap.last_update_id}" + +- assert protect_client.base_url == "https://127.0.0.1" +- assert protect_client.ws_url == f"wss://127.0.0.1{arg}" ++ assert protect_client.base_url == "https://127.0.0.1:0" ++ assert protect_client.ws_url == f"wss://127.0.0.1:0{arg}" + + protect_client._port = 443 + protect_client._update_url() +-- +2.30.2 + diff -Nru python-uiprotect-6.1.0/debian/patches/series python-uiprotect-6.1.0/debian/patches/series --- python-uiprotect-6.1.0/debian/patches/series 2024-09-30 18:04:28.000000000 +0300 +++ python-uiprotect-6.1.0/debian/patches/series 2025-04-13 14:16:31.000000000 +0300 @@ -1 +1,2 @@ 0001-drop-pytest-coverage.patch +0001-chore-deps-bump-yarl-from-1.11.1-to-1.14.0-233.patch