diff --git a/requirements.txt b/requirements.txt index 2e0a5d7e..b41a0e2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,6 @@ grpcio>=1.60.0 # 1.60.0 is the version introducing protobuf 1.25.X support, newe protobuf pytest pytest-asyncio -anyio pytest-cov azure-identity azure-functions diff --git a/tests/durabletask/test_orchestration_generator_cleanup.py b/tests/durabletask/test_orchestration_generator_cleanup.py index 5c1e17e8..80adfd3e 100644 --- a/tests/durabletask/test_orchestration_generator_cleanup.py +++ b/tests/durabletask/test_orchestration_generator_cleanup.py @@ -10,7 +10,6 @@ from unittest.mock import Mock from weakref import ReferenceType, ref -import anyio import pytest from durabletask import task, worker @@ -428,7 +427,7 @@ async def body(): await anext(opened_resource) references["asyncgen"] = ref(opened_resource) try: - async with anyio.create_task_group(): + async with asyncio.TaskGroup(): await asyncio.Future() finally: await asyncio.sleep(0)