Skip to content

Update dependencies sweep (pandas 3.1, pydantic 2.14, pyarrow 26, lancedb 0.41, litellm 1.108.3, ruff 0.17) - #2630

Closed
Derek Worthen (dworthen) wants to merge 2 commits into
mainfrom
copilot/update-dependencies-sweep-db1fa749-730f-4cad-9263-58d154a04fa1
Closed

Derek Worthen (dworthen) wants to merge 2 commits into
mainfrom
copilot/update-dependencies-sweep-db1fa749-730f-4cad-9263-58d154a04fa1

Conversation

@dworthen

@dworthen Derek Worthen (dworthen) commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Routine dependency sweep. uv.lock was regenerated with uv lock --upgrade against the packagefeedproxy.microsoft.io index, limited to releases published before 2026-11-09 (at least 7 days old). About 100 locked packages moved. Specifier floors were raised to match. The code changes only cover the typing and lint fallout from litellm 1.108 and ruff 0.17.

Related Issues

Automated "Update Dependencies Sweep" issue.

Proposed Changes

  • Specifier bumps
    • Runtime packages: pydantic ~=2.14, pandas ~=3.1, pyarrow ~=26.0, lancedb ~=0.41.0, azure-identity ~=1.27, azure-storage-blob ~=12.31, azure-cosmos ~=4.17, markitdown ~=0.1.9, devtools ~=0.13, json-repair ~=0.64
    • litellm exact pin 1.100.1 → 1.108.3
    • Dev group: ruff ~=0.17, pytest ~=9.2, coverage ~=7.17, ipykernel ~=7.4, mkdocs-material ~=9.8, poethepoet ~=0.49, pandas-stubs ~=3.1
  • litellm 1.108 typing: completion() and embedding() are now typed as possibly returning a Coroutine when called with **kwargs. Both call sites are narrowed with typing.cast:
    response = cast(
        "ModelResponse | litellm.CustomStreamWrapper",
        litellm.completion(**new_args),
    )
  • ruff 0.17 UP052: five @contextmanager functions in graphrag-llm are now annotated Generator[T, None, None] instead of Iterator[T]. Generator is imported under TYPE_CHECKING where needed to satisfy TC003.
  • Changelog: semversioner patch entry.

Checklist

  • I have tested these changes locally.
  • I have reviewed the code changes.
  • I have updated the documentation (if necessary).
  • I have added appropriate unit tests (if applicable).

Additional Notes

  • Tests: poe check, test_unit and test_verbs pass. In test_integration, only the 4 blob-storage tests that need Azurite fail; no emulator was running locally, so they need a CI run.
  • Offline tiktoken: litellm ≥1.106 no longer sets TIKTOKEN_CACHE_DIR on import, so the o200k_base tests download the encoding. Offline runs need TIKTOKEN_CACHE_DIR pointed at litellm/litellm_core_utils/tokenizers.
  • Intentional holds:
    • graspologic-native <1.3 and nltk ~=3.9.0: newer versions change outputs used by the golden test data.
    • numpy ~=2.4 and networkx ~=3.6: the next versions require Python ≥3.12, and the workspace supports 3.11.
    • mkdocs-jupyter stays on 0.26 under Python 3.11 (3.12+ resolves to 0.27).
  • Not fixed here: pandas 3.1 deprecates inplace= (PDEP-8), and about 10 call sites in graphrag now emit warnings. Changing them alters how those DataFrames are mutated, so that is left for a separate cleanup.
  • Lockfile side effect: huggingface-hub resolves to 1.33 rather than 2.x under the litellm 1.108.3 constraints.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@dworthen Derek Worthen (dworthen) changed the title [WIP] Update dependencies to latest versions Update dependencies sweep (pandas 3.1, pydantic 2.14, pyarrow 26, lancedb 0.41, litellm 1.108.3, ruff 0.17) Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Dependencies Sweep

2 participants