From 6a8c408f9f7931cf67276e9acc8d46dccabf0d21 Mon Sep 17 00:00:00 2001 From: T-256 <132141463+T-256@users.noreply.github.com> Date: Wed, 12 Jun 2024 02:42:11 +0330 Subject: [PATCH] Drop `anyio` dependency It is currently used indirectly by httpcore's _asyncio_ feature. There is no usage of `anyio` in httpx's codebase/ --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c4c188052e..11dcc54321 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,7 @@ classifiers = [ ] dependencies = [ "certifi", - "httpcore==1.*", - "anyio", + "httpcore[asyncio]>=1", "idna", "sniffio", ]