Skip to content

Dependency sweep: pandas 3.1, pydantic 2.14, pyarrow 26, lancedb 0.41, litellm 1.109.1, ruff 0.17 - #2636

Merged
Derek Worthen (dworthen) merged 2 commits into
mainfrom
copilot/update-dependencies-sweep-da040f6a-3849-4594-99af-d1dd4813d780
Nov 25, 2026
Merged

Derek Worthen (dworthen) merged 2 commits into
mainfrom
copilot/update-dependencies-sweep-da040f6a-3849-4594-99af-d1dd4813d780

Conversation

@dworthen

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

Copy link
Copy Markdown
Contributor

Description

This sweep updates dependencies across the uv workspace to the newest versions that are at least 7 days old, then regenerates uv.lock against the Microsoft feed proxy. The code changes are only the fixes that the new versions required.

Related Issues

Automated dependency sweep.

Proposed Changes

Specifier bumps

  • Runtime: pandas ~=3.1, pydantic ~=2.14, pyarrow ~=26.0, lancedb ~=0.41.0, litellm ==1.109.1 (was 1.100.1), azure-identity ~=1.27, azure-cosmos ~=4.17, azure-storage-blob ~=12.31, azure-search-documents ~=12.1, markitdown ~=0.1.9, devtools ~=0.13, json-repair ~=0.64, typer ~=0.28
  • Dev: ruff ~=0.17, pytest ~=9.2, pandas-stubs ~=3.1, coverage ~=7.17, ipykernel ~=7.4, mkdocs-material ~=9.8, poethepoet ~=0.49
  • Held:
    • graspologic-native <1.3 and nltk ~=3.9.0: newer versions change the saved expected test outputs.
    • numpy ~=2.4, networkx ~=3.6, mkdocs-jupyter ~=0.26: the next releases need Python ≥3.12, and the workspace still supports 3.11.

Fixes required by the new versions

  • ruff 0.17 (UP052): @contextmanager functions in graphrag-llm now return Generator[T, None, None] instead of Iterator[T].
  • litellm 1.109: the new type hints say completion() / embedding() with **dict kwargs may return a coroutine. Both calls are wrapped in typing.cast so pyright accepts them.
  • lancedb 0.41: the old create_index arguments are deprecated. The call now uses the new API and builds the same index type (IVF_FLAT, l2):
    self.document_collection.create_index(self.vector_field, config=IvfFlat())
  • pandas 3.1 (PDEP-8): inplace= is deprecated. It is replaced with reassignment only where the DataFrame is local: cluster_graph.py, both community context_builder.py files, extract_graph.py, and the verbs test helpers.

Release

  • Semversioner patch entry added.

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

  • inplace= left in place on purpose. These calls change a DataFrame that the caller owns, so switching to reassignment could change behaviour. They still work in pandas 3.1 and only emit deprecation warnings. They need a closer look before pandas removes inplace=:
    • extract_covariates.py (the comment says "don't pollute the global")
    • prep_text_units.py
    • _prep_edges / _prep_claims in create_community_reports.py
    • sort_context in community_context.py
  • litellm cutoff override. 1.109.1 was released on PyPI on 2026-11-12, but the proxy only ingested it on 11-19. The lock used --exclude-newer-package litellm=... to allow it; every other package used the standard 7-day cutoff.
  • Offline test runs. litellm ≥1.106 no longer sets TIKTOKEN_CACHE_DIR, so the o200k_base tokenizer tests download the encoding. To run them without network, set TIKTOKEN_CACHE_DIR to litellm/litellm_core_utils/tokenizers.

…cedb 0.41, litellm 1.109.1, ruff 0.17)

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@dworthen Derek Worthen (dworthen) changed the title [WIP] Update dependencies to the latest versions Dependency sweep: pandas 3.1, pydantic 2.14, pyarrow 26, lancedb 0.41, litellm 1.109.1, ruff 0.17 Nov 23, 2026
@dworthen
Derek Worthen (dworthen) marked this pull request as ready for review November 25, 2026 04:20
@dworthen
Derek Worthen (dworthen) requested a review from a team as a code owner November 25, 2026 04:20
@dworthen
Derek Worthen (dworthen) merged commit bc7c828 into main Nov 25, 2026
22 of 38 checks passed
@dworthen
Derek Worthen (dworthen) deleted the copilot/update-dependencies-sweep-da040f6a-3849-4594-99af-d1dd4813d780 branch November 25, 2026 13:25
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