Skip to content

Commit 313d17d

Browse files
tests: constrain anyio to fix CI test failures
Add anyio<4.11.0 constraint to tests/requirements.txt to resolve incompatibility between anyio 4.11.0+ and trio 0.26.2. pip was installing anyio 4.11.0 causing error in trio library ''' File "trio/_core/_ki.py", line 183, in wrapper | return fn(*args, **kwargs) | TypeError: cancel() takes 1 positional argument but 2 were given ''' Signed-off-by: Faizan Ali <[email protected]>
1 parent 4cf1ecb commit 313d17d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
asyncdbus==0.6.1
2+
anyio<4.11.0
23
pyroute2==0.7.10
34
pytest==8.3.2
45
pytest-trio==0.8.0

0 commit comments

Comments
 (0)