Skip to content

Commit c805b0d

Browse files
committed
fix(sdk/python): add httpcore>=1.0.8 for Python 3.14 compatibility
httpcore <1.0.8 crashes on Python 3.14 because it tries to setattr __module__ on a typing.Union object, which is no longer supported after the Union/UnionType merge. Adding a direct lower-bound constraint ensures the fix propagates to module runtime containers, where the SDK's uv.lock is not used. Refs: encode/httpcore#1005 Signed-off-by: Yves Brissaud <yves@dagger.io>
1 parent 1e3ec7f commit c805b0d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

sdk/python/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ dependencies = [
3030
"anyio>=3.6.2",
3131
"cattrs>=25.1.0",
3232
"gql[httpx]>=4.0",
33+
"httpcore>=1.0.8",
3334
"beartype>=0.22.0",
3435
"platformdirs>=2.6.2",
3536
"typing_extensions>=4.13.0",

sdk/python/uv.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)