Skip to content

Commit 7f886a0

Browse files
authored
Pin async-timeout to <4.0.0 for older aiohttp versions (#2963)
async-timeout introduces a breaking change (changing the `timeout` class to a function) which breaks older versions of aiohttp.
1 parent 5391e58 commit 7f886a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

riotfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,13 +1186,16 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
11861186
Venv(
11871187
name="aiohttp",
11881188
command="pytest {cmdargs} tests/contrib/aiohttp",
1189-
pkgs={"pytest-aiohttp": [latest]},
1189+
pkgs={
1190+
"pytest-aiohttp": [latest],
1191+
},
11901192
venvs=[
11911193
Venv(
11921194
pys=select_pys(min_version="3.5", max_version="3.6"),
11931195
pkgs={
11941196
"aiohttp": ["~=2.0", "~=2.1", "~=2.2", "~=2.3"],
11951197
"aiohttp_jinja2": ["~=0.12", "~=0.13", "~=0.15"],
1198+
"async-timeout": ["<4.0.0"],
11961199
"yarl": "~=0.18.0",
11971200
},
11981201
),

0 commit comments

Comments
 (0)