chore(deps): resolve remaining 18 Dependabot security alerts in worker_plan#835
Merged
Conversation
Resolves the 18 remaining open Dependabot alerts in worker_plan/pyproject.toml: pillow 12.2.0 -> 12.3.0 (13 alerts), soupsieve 2.8.3 -> 2.8.4 (2 alerts), json_repair 0.58.7 -> 0.60.1 (1 alert), and transformers (2 alerts) removed entirely. transformers was only in the freeze as a hard dependency of llama-index-llms-openai-like < 0.6. From 0.6.0 it is an optional extra, and no PlanExe code imports it or passes a string tokenizer that would need it. Bumping llama-index-llms-openai-like to 0.7.0 and llama-index-llms-openrouter to 0.5.1 (which requires openai-like >= 0.7) lets us drop transformers plus its now-orphaned dependencies tokenizers, safetensors and huggingface-hub. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves the 18 open Dependabot security alerts in
worker_plan/pyproject.toml(the 19th,mcpin mcp_cloud, was fixed by merging dependabot PR #816):Why transformers is removed instead of bumped
The only patched version is 5.5.0, a major-version jump requiring
huggingface-hub >= 1.5. But transformers was never used by PlanExe code — it was only a hard dependency ofllama-index-llms-openai-like < 0.6, used solely when a stringtokenizername is passed toOpenAILike(PlanExe never passes one). From 0.6.0 the package makes transformers an optional extra with a lazy import.So instead:
llama-index-llms-openai-like0.5.3 → 0.7.0 (satisfies existing pins:llama-index-core 0.14.12,llama-index-llms-openai 0.6.12)llama-index-llms-openrouter0.5.0 → 0.5.1 (its older pin required openai-like < 0.6)transformersand its now-orphaned transitive depstokenizers,safetensors,huggingface-hub(nothing else in the freeze depends on them)Verification
python test.py: all worker_plan tests pass; only failures are the mcp_cloud tests that need PostgreSQL (expected outside Docker/CI)OpenAILike,ThinkingAwareOpenAILikeand the openrouter module import and instantiate fine with transformers absent🤖 Generated with Claude Code