From b866c68a6a91ab8c1ddde04f8cfd3fdf47770790 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 May 2026 18:26:16 +0000 Subject: [PATCH 1/2] Bump pytest-asyncio from 1.3.0 to 1.4.0 (#12704) Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 1.3.0 to 1.4.0.
Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio v1.4.0

1.4.0 - 2026-05-26

Deprecated

Added

Changed

Fixed

Notes for Downstream Packagers

pytest-asyncio v1.4.0a2

1.4.0a2 - 2026-05-02

Deprecated

Added

Changed

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-asyncio&package-manager=pip&previous-version=1.3.0&new-version=1.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/constraints.txt | 2 +- requirements/dev.txt | 2 +- requirements/lint.txt | 2 +- requirements/test-common.txt | 2 +- requirements/test-ft.txt | 2 +- requirements/test.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 9257be278a7..d29fcac2147 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -216,7 +216,7 @@ pytest-aiohttp==1.1.0 # via # -r requirements/lint.in # -r requirements/test-common.in -pytest-asyncio==1.4.0a2 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via diff --git a/requirements/dev.txt b/requirements/dev.txt index c92d6efe84a..762e5d0a829 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -211,7 +211,7 @@ pytest-aiohttp==1.1.0 # via # -r requirements/lint.in # -r requirements/test-common.in -pytest-asyncio==1.4.0a2 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via diff --git a/requirements/lint.txt b/requirements/lint.txt index 4b9148dd22d..d731a1ae94e 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -119,7 +119,7 @@ pytest==9.0.3 # pytest-mock pytest-aiohttp==1.1.0 # via -r requirements/lint.in -pytest-asyncio==1.4.0a2 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via -r requirements/lint.in diff --git a/requirements/test-common.txt b/requirements/test-common.txt index 3c688524b8d..bac85c47eae 100644 --- a/requirements/test-common.txt +++ b/requirements/test-common.txt @@ -104,7 +104,7 @@ pytest==9.0.3 # pytest-xdist pytest-aiohttp==1.1.0 # via -r requirements/test-common.in -pytest-asyncio==1.3.0 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via -r requirements/test-common.in diff --git a/requirements/test-ft.txt b/requirements/test-ft.txt index 64312de99a1..142d75bf348 100644 --- a/requirements/test-ft.txt +++ b/requirements/test-ft.txt @@ -127,7 +127,7 @@ pytest==9.0.3 # pytest-xdist pytest-aiohttp==1.1.0 # via -r requirements/test-common.in -pytest-asyncio==1.4.0a2 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via -r requirements/test-common.in diff --git a/requirements/test.txt b/requirements/test.txt index 1b14c7cd9f6..60d5accb62f 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -127,7 +127,7 @@ pytest==9.0.3 # pytest-xdist pytest-aiohttp==1.1.0 # via -r requirements/test-common.in -pytest-asyncio==1.4.0a2 +pytest-asyncio==1.4.0 # via pytest-aiohttp pytest-codspeed==5.0.3 # via -r requirements/test-common.in From 93de128a2ffa265e6f697dec11998745553977fa Mon Sep 17 00:00:00 2001 From: nightcityblade Date: Wed, 27 May 2026 04:09:10 +0800 Subject: [PATCH 2/2] Reduce client timeout test runtime (#12673) --- CHANGES/9705.contrib.rst | 2 ++ CONTRIBUTORS.txt | 1 + tests/test_client_functional.py | 8 ++++---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 CHANGES/9705.contrib.rst diff --git a/CHANGES/9705.contrib.rst b/CHANGES/9705.contrib.rst new file mode 100644 index 00000000000..5eaef0c4398 --- /dev/null +++ b/CHANGES/9705.contrib.rst @@ -0,0 +1,2 @@ +Reduced the runtime of a client timeout regression test by shortening its artificial response delay. +-- by :user:`nightcityblade`. diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index b65e45ddc4a..4a9c56233f3 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -286,6 +286,7 @@ Moss Collum Mun Gwan-gyeong Navid Sheikhol Nicolas Braem +Night Cityblade Nikolay Kim Nikolay Novik Nikolay Tiunov diff --git a/tests/test_client_functional.py b/tests/test_client_functional.py index 54a1245972b..a301b6b82cd 100644 --- a/tests/test_client_functional.py +++ b/tests/test_client_functional.py @@ -1159,17 +1159,17 @@ async def test_read_timeout_between_chunks( async def handler(request: web.Request) -> web.StreamResponse: resp = aiohttp.web.StreamResponse() await resp.prepare(request) - # write data 4 times, with pauses. Total time 2 seconds. + # write data 4 times, with pauses. Total time 0.4 seconds. for _ in range(4): - await asyncio.sleep(0.5) + await asyncio.sleep(0.1) await resp.write(b"data\n") return resp app = web.Application() app.add_routes([web.get("/", handler)]) - # A timeout of 0.2 seconds should apply per read. - timeout = aiohttp.ClientTimeout(sock_read=1) + # The read timeout should apply per read, not to the whole response. + timeout = aiohttp.ClientTimeout(sock_read=0.2) client = await aiohttp_client(app, timeout=timeout) res = b""