Skip to content

Commit 4cc9b81

Browse files
committed
tests: update to trio 0.31.0
The version of anyio that currently gets pulled in through asyncdbus is incompatible with trio: File "/home/jk/devel/mctp/mctp/venv/lib/python3.11/site-packages/anyio/_backends/_trio.py", line 141, in cancel self.__original.cancel(reason) File "/home/jk/devel/mctp/mctp/venv/lib/python3.11/site-packages/trio/_core/_ki.py", line 183, in wrapper return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ TypeError: CancelScope.cancel() takes 1 positional argument but 2 were given With the breaking change at agronholm/anyio@b2c933cd . Bump trio to 0.31 to support cancel reasons. Signed-off-by: Jeremy Kerr <[email protected]>
1 parent ef0d2dc commit 4cc9b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ asyncdbus==0.6.1
22
pyroute2==0.7.10
33
pytest==8.3.2
44
pytest-trio==0.8.0
5-
trio==0.26.2
5+
trio==0.31.0
66
pytest-tap==3.5

0 commit comments

Comments
 (0)