Skip to content

chore(deps-dev): update transformers requirement from >=4.40 to >=5.5.3#28

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/transformers-gte-5.5.3
Open

chore(deps-dev): update transformers requirement from >=4.40 to >=5.5.3#28
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/transformers-gte-5.5.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 11, 2026

Updates the requirements on transformers to permit the latest version.

Release notes

Sourced from transformers's releases.

Patch release: v5.5.3

Small patch release to fix device_map support for Gemma4! It contains the following commit:

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.40.0...v5.5.3)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 5.5.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 11, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 11, 2026

Greptile Summary

This PR bumps the transformers dev/train dependency from >=4.40 to >=5.5.3, a major version upgrade. The only consumer of transformers in the codebase is src/hippofloop/training/trainer.py, which imports TrainingArguments — an API that remains stable in v5.

  • The unsloth[colab-new]>=2024.8 lower bound predates transformers v5 support in unsloth (added ~December 2024). Pip could theoretically satisfy both constraints with an incompatible combination (old unsloth + new transformers). Bumping the unsloth lower bound to a version confirmed to support transformers v5 would make this safer.

Confidence Score: 4/5

Safe to merge after addressing the unsloth version lower bound to ensure compatibility with transformers v5.

The only transformers API used in the codebase (TrainingArguments) is stable across the v4→v5 boundary, so no code changes are needed. However, the unsloth lower bound (>=2024.8) predates transformers v5 support and could allow a pip resolver to produce an incompatible environment, warranting a small bump before merging.

pyproject.toml — unsloth version constraint should be tightened alongside the transformers bump.

Important Files Changed

Filename Overview
pyproject.toml Single-line change bumping transformers from >=4.40 to >=5.5.3 (major version); unsloth lower bound may not guarantee transformers v5 compatibility.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pip install hippofloop train] --> B{Resolve dependencies}
    B --> C[transformers >= 5.5.3\nresolves to latest v5]
    B --> D[unsloth >= 2024.8\ncould resolve to Aug 2024 build]
    D -->|Old unsloth 2024.8| E[No transformers v5 support\nRuntime incompatibility]
    D -->|New unsloth 2024.12+| F[transformers v5 supported\nCompatible environment]
    C --> E
    C --> F
Loading

Reviews (1): Last reviewed commit: "chore(deps-dev): update transformers req..." | Re-trigger Greptile

Comment thread pyproject.toml
Comment on lines 13 to +14
"unsloth[colab-new]>=2024.8",
"transformers>=4.40",
"transformers>=5.5.3",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Unsloth lower bound may not cover transformers v5 support

unsloth[colab-new]>=2024.8 allows installing unsloth versions from August 2024, but transformers v5 support was only added to unsloth in ~December 2024. A resolver that picks an older compliant unsloth (e.g. 2024.8.x) alongside transformers==5.5.3 will produce an incompatible environment at runtime. Consider tightening the unsloth lower bound to a release known to support transformers v5 (e.g. >=2024.12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants