Bump transformers from 4.41.2 to 5.5.0#23
Conversation
Bumps [transformers](https://github.com/huggingface/transformers) from 4.41.2 to 5.5.0. - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](huggingface/transformers@v4.41.2...v5.5.0) --- updated-dependencies: - dependency-name: transformers dependency-version: 5.5.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 01d6125. Configure here.
| torchvision~=0.16.2 | ||
| tqdm==4.66.4 | ||
| transformers==4.41.2 | ||
| transformers==5.5.0 |
There was a problem hiding this comment.
Stale hub pin breaks install
High Severity
Bumping transformers to 5.5.0 while huggingface-hub stays at 0.23.4 conflicts with transformers 5.x needing huggingface-hub >=1.5.0. install-dev.sh installs from requirements.txt first, so dependency resolution or pip check can fail and block dev/CI setup.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 01d6125. Configure here.
|
|
||
| # Models and Metrics Extras | ||
| transformers~=4.40 # For anthropic_client, vision_language.huggingface_vlm_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics) | ||
| transformers~=5.5 # For anthropic_client, vision_language.huggingface_vlm_client, huggingface_client, huggingface_tokenizer, test_openai_token_cost_estimator, model_summac (via summarization_metrics) |
There was a problem hiding this comment.
Transformers 5 on Python 3.8
High Severity
install_requires now pulls transformers~=5.5, which requires Python >=3.10, but python_requires still allows >=3.8,<3.11. CI installs the wheel on Python 3.8 and 3.9, so those jobs can fail when resolving or installing transformers.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 01d6125. Configure here.




Bumps transformers from 4.41.2 to 5.5.0.
Release notes
Sourced from transformers's releases.
... (truncated)
Commits
c1c3424update20bff68update release workflow8956441v5.5.05135e5ecasually dropping the most capable open weights on the planet (#45192)a594e09Internalise the NomicBERT model (#43067)4932e97Fix resized LM head weights being overwritten by post_init (#45079)57e8413[Qwen3.5 MoE] Add _tp_plan to ForConditionalGeneration (#45124)b10552eFix TypeError: 'NoneType' object is not iterable in GenerationMixin.generate ...423f2a3fix(models): Fix dtype mismatch in SwitchTransformers and TimmWrapperModel (#...ade7a05Generalize gemma vision mask to videos (#45185)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Major-version upgrade of a core ML library with no code changes; Hugging Face integration paths may hit breaking API or behavior changes until CI and model tests are run.
Overview
Bumps the pinned
transformersdependency from 4.41.2 to 5.5.0 (major version 4 → 5) inrequirements.txtand aligns the install constraint insetup.cfgfrom~=4.40to~=5.5.There are no application code changes in this PR; it is dependency-only.
transformersis used across Hugging Face clients, tokenizers, VLM paths, and summarization metrics (e.g.huggingface_client,model_summac), so runtime behavior may change with the new major release even though the diff is limited to lockfiles/config.Reviewed by Cursor Bugbot for commit 01d6125. Bugbot is set up for automated code reviews on this repo. Configure here.