diff --git a/pyproject.toml b/pyproject.toml index ed2178fee..a8f8295b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ keywords = ["vector", "search", "neural", "matching", "client"] [tool.poetry.dependencies] python = ">=3.10" -httpx = { version = ">=0.20.0", extras = ["http2"] } +httpx2 = { version = ">=2.12.0", extras = ["http2"] } numpy = [ { version = ">=1.21,<2.3.0", python = ">=3.10,<3.11" }, { version = ">=1.21", python = ">=3.11,<3.12" }, diff --git a/qdrant_client/http/api_client.py b/qdrant_client/http/api_client.py index 4c907c3cf..7837b9053 100644 --- a/qdrant_client/http/api_client.py +++ b/qdrant_client/http/api_client.py @@ -3,7 +3,7 @@ from typing import Any, Awaitable, Callable, Dict, Generic, Type, TypeVar, overload from urllib.parse import urljoin -from httpx import AsyncClient, Client, Request, Response +from httpx2 import AsyncClient, Client, Request, Response from pydantic import ValidationError from qdrant_client.common.client_exceptions import ResourceExhaustedResponse from qdrant_client.http.api.aliases_api import AsyncAliasesApi, SyncAliasesApi