Skip to content

Commit ee2137b

Browse files
authored
Fixing hung tests by downpinning litellm (#1192)
1 parent bb02358 commit ee2137b

File tree

4 files changed

+5472
-5514
lines changed

4 files changed

+5472
-5514
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ requires-python = ">=3.11"
6161
dev = [
6262
"ipykernel>=6.29", # For running Jupter notebooks, and pin to keep recent
6363
"ipython>=8", # Pin to keep recent
64-
"litellm>=1.71", # Lower pin for aiohttp transport adoption
64+
"litellm>=1.71,<1.76", # Lower pin for aiohttp transport adoption, upper pin for 3.11 hangs in CI
6565
"mypy>=1.8", # Pin for mutable-override
6666
"paper-qa[docling,image,ldp,memory,pypdf-media,pymupdf,typing,zotero,local,qdrant,office]",
6767
"prek",
@@ -72,6 +72,7 @@ dev = [
7272
"pytest-rerunfailures",
7373
"pytest-subtests",
7474
"pytest-sugar",
75+
"pytest-timeout",
7576
"pytest-timer[colorama]",
7677
"pytest-xdist",
7778
"pytest>=8", # Pin to keep recent
@@ -343,6 +344,8 @@ filterwarnings = [
343344
# directory. File system paths may use shell-style wildcards, including the recursive **
344345
# pattern.
345346
testpaths = ["packages", "tests"]
347+
# Timeout in seconds before dumping the stacks. Default is 0 which means no timeout.
348+
timeout = 300
346349

347350
[tool.refurb]
348351
enable_all = true

tests/cassettes/test_get_reasoning[deepseek-reasoner].yaml

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

0 commit comments

Comments
 (0)