Skip to content

Commit 4516e46

Browse files
fix: move sniffio from test to runtime dependencies (#298)
sniffio is imported in production code (deepset_cloud_sdk/workflows/async_client/files.py) to catch AsyncLibraryNotFoundError, but was only listed as a test dependency. This broke at runtime when anyio 4.0+ dropped sniffio as a transitive dependency. Resolves BUIG-13 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 6116702 commit 4516e46

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dependencies = [
3636
"pyrate-limiter>=3.7.0",
3737
"pydantic>=2.11.4",
3838
"ruamel.yaml>=0.18.10",
39+
"sniffio>=1.3.1",
3940
]
4041

4142
[project.urls]
@@ -53,7 +54,6 @@ test = [
5354
"pytest-asyncio==1.2.0",
5455
"haystack-ai>=2.13.2", # only for testing
5556
"respx==0.22.0",
56-
"sniffio>=1.3.1",
5757
]
5858
code-quality = [
5959
"ruff==0.14.7",

uv.lock

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

0 commit comments

Comments
 (0)