Your message dated Mon, 13 Oct 2025 08:49:13 +0000
with message-id <[email protected]>
and subject line Bug#1115561: fixed in aiohttp-sse 2.2.0-3
has caused the Debian Bug report #1115561,
regarding aiohttp-sse: 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.)


-- 
1115561: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115561
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: aiohttp-sse
Version: 2.2.0-2
Severity: serious
Tags: ftbfs upstream
Justification: FTBFS

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

_________ ERROR at setup of test_func[debug:true-without_sse_response] _________
file 
/build/reproducible-path/aiohttp-sse-2.2.0/.pybuild/cpython3_3.13/build/tests/test_sse.py,
 line 16
  @pytest.mark.parametrize(
      "with_sse_response",
      (False, True),
      ids=("without_sse_response", "with_sse_response"),
  )
  async def test_func(with_sse_response: bool, aiohttp_client: ClientFixture) 
-> None:
      async def func(request: web.Request) -> web.StreamResponse:
          if with_sse_response:
              resp = await sse_response(request, headers={"X-SSE": 
"aiohttp_sse"})
          else:
              resp = EventSourceResponse(headers={"X-SSE": "aiohttp_sse"})
              await resp.prepare(request)
          await resp.send("foo")
          await resp.send("foo", event="bar")
          await resp.send("foo", event="bar", id="xyz")
          await resp.send("foo", event="bar", id="xyz", retry=1)
          resp.stop_streaming()
          await resp.wait()
          return resp

      app = web.Application()
      app.router.add_route("GET", "/", func)
      app.router.add_route("POST", "/", func)

      client = await aiohttp_client(app)
      resp = await client.get("/")
      assert 200 == resp.status

      # make sure that EventSourceResponse supports passing
      # custom headers
      assert resp.headers.get("X-SSE") == "aiohttp_sse"

      # make sure default headers set
      assert resp.headers.get("Content-Type") == "text/event-stream"
      assert resp.headers.get("Cache-Control") == "no-cache"
      assert resp.headers.get("Connection") == "keep-alive"
      assert resp.headers.get("X-Accel-Buffering") == "no"

      # check streamed data
      streamed_data = await resp.text()
      expected = (
          "data: foo\r\n\r\n"
          "event: bar\r\ndata: foo\r\n\r\n"
          "id: xyz\r\nevent: bar\r\ndata: foo\r\n\r\n"
          "id: xyz\r\nevent: bar\r\ndata: foo\r\nretry: 1\r\n\r\n"
      )
      assert streamed_data == expected
file 
/build/reproducible-path/aiohttp-sse-2.2.0/.pybuild/cpython3_3.13/build/tests/conftest.py,
 line 16
  @pytest.fixture(autouse=True)
  def loop(event_loop: AbstractEventLoop, debug: bool) -> AbstractEventLoop:
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, 
> cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, cov, 
> debug, doctest_namespace, event_loop_policy, loop, monkeypatch, no_cover, 
> pytestconfig, record_property, record_testsuite_property, 
> record_xml_attribute, recwarn, 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.

I filed https://github.com/aio-libs/aiohttp-sse/pull/597 upstream to fix 
this, so you should just be able to cherry-pick that patch.

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]

--- End Message ---
--- Begin Message ---
Source: aiohttp-sse
Source-Version: 2.2.0-3
Done: Tianyu Chen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aiohttp-sse, 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 aiohttp-sse 
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:04:07 +0800
Source: aiohttp-sse
Architecture: source
Version: 2.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Tianyu Chen <[email protected]>
Closes: 1115561
Changes:
 aiohttp-sse (2.2.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Port to pytest-asyncio >= 1.0.0. Thanks Colin Watson! (Closes: #1115561)
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 8e290c3793cd6a486aec5317fd78976018cd142a 2471 aiohttp-sse_2.2.0-3.dsc
 1f5cd398d89d678f58d01c6e6c84e541c7093104 2940 aiohttp-sse_2.2.0-3.debian.tar.xz
Checksums-Sha256:
 1c367f499d49628aa4f390363423ea1925a0a8abce088c64f19ad470a245a65f 2471 
aiohttp-sse_2.2.0-3.dsc
 9c9976ed95508e3ae5d6d076a35493468a7b16fa2bf9047d5862c8aafc4f41df 2940 
aiohttp-sse_2.2.0-3.debian.tar.xz
Files:
 88a5a3288a5291611d1e544438ad6498 2471 python optional aiohttp-sse_2.2.0-3.dsc
 de1d8adc6a8ed2be3f8e6e01e14c69fb 2940 python optional 
aiohttp-sse_2.2.0-3.debian.tar.xz

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

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmjsuMoACgkQOTWH2X2G
UAvRow/+LwPoIJGjDqZElclGBU7ZfneM6GYrX61U7VyytiT90Yxox4HI9m1qZ1uk
eCYXGtJRI/L89aHvaH9/N6Kz/pRJua/oysgHilIUWOZ0yMMtCVlqmYTkrddiaij/
hGLFSWMtHs1pmWOC+XzX9O0vLGs8lVHZI6ctldDbuscO5V1c1NjvbqlkIN6p8kNt
+6WaiU7p77Tn4c2E0br7akKAtoRerEU3U3GtIQM9yIAQFU5wTZRLgjRNKzTksjqM
/SKO8LiTK55KFqTi3GkdUOKItOFAUo5NLNygJhRMzTTiAoN94Exkf2MzP9Y2at2J
taq25shTG5Qw9dlZY5O9EZutviSNlz9B82YnYV3H69vdCWN99niVz5RuQJmQ9CJg
HNWsGrmZcypLhBURdTMcK3bIQRNhQIy4xGNq6M16EiGrOSwYUXlDH66iO1ndX5Pi
EJLp2vTLdTpOwmaO0aM4RDqq/Cogz1rymLkoXo9jQ3qgD2oDqXphGs93ZPBl6GdB
syDC3oLGk8EWu2753nO0j/y9kacDk2CwwSCdXK5EEIxnh2vsTslA5qdDRBjxJGHe
lyqu6tuWBJ16P/RizeO44bARxr4z075Tvo063mI8pvwTRxN1gZxd+twM+vKZVpx3
TRKWtxq7hptQPoi1pW3Pn0c8vPgc7rhXgRCbyQQIoPjvoKXLZco=
=tsa6
-----END PGP SIGNATURE-----

Attachment: pgpLrgVM9wPLJ.pgp
Description: PGP signature


--- End Message ---

Reply via email to