Your message dated Mon, 13 Oct 2025 08:50:18 +0000
with message-id <[email protected]>
and subject line Bug#1115575: fixed in rtsp-to-webrtc 0.6.1-3
has caused the Debian Bug report #1115575,
regarding rtsp-to-webrtc: FTBFS with python3-pytest-asyncio >= 1.0.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1115575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115575
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rtsp-to-webrtc
Version: 0.6.1-2
Severity: serious
Tags: ftbfs patch upstream
Justification: FTBFS

python3-pytest-asyncio >= 1.0.0 caused rtsp-to-webrtc to FTBFS with lots 
of test failures along the following lines:

_____________________ ERROR at setup of test_list_streams ______________________
file 
/build/reproducible-path/rtsp-to-webrtc-0.6.1/.pybuild/cpython3_3.13_rtsp-to-webrtc/build/tests/test_web_client.py,
 line 100
  async def test_list_streams(
      cli: TestClient,
      request_handler: Callable[[aiohttp.web.Request], 
Awaitable[aiohttp.web.Response]],
  ) -> None:
      """Test List Streams calls."""
      assert isinstance(cli.server, TestServer)
      cli.server.app["response"].append(
          aiohttp.web.json_response(
              {
                  "status": 1,
                  "payload": {
                      "demo1": STREAM_1,
                      "demo2": STREAM_2,
                  },
              }
          )
      )

      client = WebClient(cast(ClientSession, cli))
      streams = await client.list_streams()
      assert len(streams) == 2
      assert streams == {
          "demo1": STREAM_1,
          "demo2": STREAM_2,
      }
      requests = cli.server.app["request"]
      assert requests == ["/streams"]
file 
/build/reproducible-path/rtsp-to-webrtc-0.6.1/.pybuild/cpython3_3.13_rtsp-to-webrtc/build/tests/test_web_client.py,
 line 89
  @pytest.fixture
  def cli(
file 
/build/reproducible-path/rtsp-to-webrtc-0.6.1/.pybuild/cpython3_3.13_rtsp-to-webrtc/build/tests/conftest.py,
 line 17
  @pytest.fixture
  def loop(event_loop: Any) -> Any:
E       fixture 'event_loop' not found
>       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, app, 
> cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, cli, 
> doctest_namespace, event_loop_policy, loop, monkeypatch, pytestconfig, 
> record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> request_handler, reset_diagnostics, setup_handler, tmp_path, 
> tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, 
> unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
>       use 'pytest --fixtures [testpath]' for help on them.

The attached patch should fix this.

Incidentally, could you please fix Vcs-Browser and Vcs-Git in 
debian/control?  The mistakes there meant that I had to guess to find 
this package's git repository.

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]
diff --git a/tests/conftest.py b/tests/conftest.py
index e554b95..e9aefbe 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,5 +1,6 @@
 from __future__ import annotations
 
+import asyncio
 import logging
 from collections.abc import Awaitable, Callable, Generator
 from json import JSONDecodeError
@@ -7,6 +8,7 @@ from typing import Any, cast
 
 import aiohttp
 import pytest
+import pytest_asyncio
 from aiohttp import web
 
 from rtsp_to_webrtc import diagnostics
@@ -14,9 +16,9 @@ from rtsp_to_webrtc import diagnostics
 _LOGGER = logging.getLogger(__name__)
 
 
[email protected]
-def loop(event_loop: Any) -> Any:
-    return event_loop
+@pytest_asyncio.fixture
+async def loop() -> Any:
+    return asyncio.get_running_loop()
 
 
 async def handler(request: aiohttp.web.Request) -> aiohttp.web.Response:

--- End Message ---
--- Begin Message ---
Source: rtsp-to-webrtc
Source-Version: 0.6.1-3
Done: Tianyu Chen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
rtsp-to-webrtc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tianyu Chen <[email protected]> (supplier of updated rtsp-to-webrtc 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 13 Oct 2025 16:11:15 +0800
Source: rtsp-to-webrtc
Architecture: source
Version: 0.6.1-3
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Tianyu Chen <[email protected]>
Closes: 1115575
Changes:
 rtsp-to-webrtc (0.6.1-3) unstable; urgency=medium
 .
   * Team upload.
   * Port to pytest-asyncio >= 1.0.0. Thanks Colin Watson! (Closes: #1115575)
   * Fix Vcs-Git and Vcs-Browser.
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 cecfd5cd2df3447c2bae9b4406969bc925f71a0e 2287 rtsp-to-webrtc_0.6.1-3.dsc
 9a3a24e4440afebed7cf1c8af465139d21993cc4 2900 
rtsp-to-webrtc_0.6.1-3.debian.tar.xz
 3bae370b283f0656d247e6ef30f2a2a1c93813a3 7490 
rtsp-to-webrtc_0.6.1-3_source.buildinfo
Checksums-Sha256:
 2a47ff81958c4de82efe44a260446661149f00ff6b3ef15e8597058ea5f5dbcb 2287 
rtsp-to-webrtc_0.6.1-3.dsc
 0d58870601d437edafe26c92b78b7160b06741f846432d3442df6ad6663ea119 2900 
rtsp-to-webrtc_0.6.1-3.debian.tar.xz
 c407c81d380c8ecf6fe04dcf258d4f4295e7f5ab2e94ce49af80fd68bc1e5654 7490 
rtsp-to-webrtc_0.6.1-3_source.buildinfo
Files:
 5cfcdb9ee65965245a188f0baf9c4334 2287 python optional 
rtsp-to-webrtc_0.6.1-3.dsc
 27e096fcc8a4de4fa1c17f8472716b11 2900 python optional 
rtsp-to-webrtc_0.6.1-3.debian.tar.xz
 296e483b2e92991497b07178f32f242b 7490 python optional 
rtsp-to-webrtc_0.6.1-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmjsuSEACgkQOTWH2X2G
UAsckhAAtuVfRvcsY3+jhKDasViSQWHRwHgtNJDgxk3FxDTTiUDKaK3A2va/30su
pqi4PZ6mN7I5AHpyRR1YAc7T9ldfRxbynvfBFOi6PUlRqWm71RXGPJ8XEpNRbWcU
X/XFdRWdHV06XiOGxpmnRpctdfZ0zkJ6Cqwa6n2ES6iWFKbsmC7/FDKEMC/P2akE
ryIlVi8WXQa1LWEIgPyOTIRTyayNNEGZCjGtnsz58DWzTKBKVNDkhZLdJ8Ga6NNK
AfXVxnlbtRWrcC/wAMmi4SqkaBlG/tlatZ8RACFszEmXKjDkiEYCUKFT3g+INlbV
aK3AFHcWc5Pqx7rPJOSKja4NiPt2YNHf9/9pWHqhNiqXhdzTds2MS4hAfPIfgmyc
Mu8gCjAs2nn1XT0WKTOuuVf4LHidUSxABsoJ+pwYWKwpOAS76UTDYb6CfqA3tkT0
Uc4kCe13Ha/j3jTSrlLakd6yetc19qtlcx6MBMPlRCyd4D1Dhlg3HcZkjCfXoDaC
wJMKz/OHYFwL774+aaRZgLsUlWXAas4TqhtCkr6r++xN34g4kWA6xIPhdzwFl0RB
zZzGIOEO72K76SXWRvyRyq+WDIg6kVWpONJsZZWzzG8WYfsZEQoWQURvlfrOSCvT
4dllahfAMhEidsq+gHQijjhT7SHrWABvqqX30IJ2n62BAKA+RUI=
=Pk7T
-----END PGP SIGNATURE-----

Attachment: pgp4sgbAHP9Vq.pgp
Description: PGP signature


--- End Message ---

Reply via email to