Skip to content

Commit 3dde95e

Browse files
committed
Allow httpcore 1.0.6+
1 parent f220877 commit 3dde95e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

elastic_transport/_node/_http_httpx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ async def perform_request( # type: ignore[override]
159159
elif isinstance(e, ssl.SSLError):
160160
err = TlsError(str(e), errors=(e,))
161161
# Detect SSL errors for httpx v0.28.0+
162+
# Needed until https://github.com/encode/httpx/issues/3350 is fixed
162163
elif isinstance(e, httpx.ConnectError) and e.__cause__:
163164
context = e.__cause__.__context__
164165
if isinstance(context, ssl.SSLError):

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@
6565
"requests",
6666
"aiohttp",
6767
"httpx",
68-
# https://github.com/encode/httpx/discussions/3214#discussioncomment-10830925
69-
"httpcore<1.0.6",
7068
"respx",
7169
"opentelemetry-api",
7270
"opentelemetry-sdk",

0 commit comments

Comments
 (0)