Skip to content

Revert "Bump sentencepiece from 0.2.0 to 0.2.1"#6346

Merged
Fhrozen merged 1 commit intomasterfrom
revert-6345-dependabot/pip/sentencepiece-0.2.1
Jan 24, 2026
Merged

Revert "Bump sentencepiece from 0.2.0 to 0.2.1"#6346
Fhrozen merged 1 commit intomasterfrom
revert-6345-dependabot/pip/sentencepiece-0.2.1

Conversation

@Fhrozen
Copy link
Copy Markdown
Member

@Fhrozen Fhrozen commented Jan 24, 2026

Reverts #6345

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. dependencies Pull requests that update a dependency file labels Jan 24, 2026
@Fhrozen Fhrozen merged commit cd7c412 into master Jan 24, 2026
27 of 29 checks passed
@Fhrozen Fhrozen deleted the revert-6345-dependabot/pip/sentencepiece-0.2.1 branch January 24, 2026 02:29
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request reverts the sentencepiece dependency to version 0.2.0. This is a simple but important change to address issues with a newer version. I've added one comment regarding documenting the reason for this version pin to improve future maintainability.

"torch_optimizer",
"kaldiio>=2.18.0",
"sentencepiece==0.2.1",
"sentencepiece==0.2.0",
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.

high

To improve long-term maintainability, it's good practice to add a comment explaining why this dependency is pinned to a specific version. This context is valuable for future developers who might consider upgrading this package, as it will inform them about the potential issues with newer versions and the history behind this decision.

Suggested change
"sentencepiece==0.2.0",
"sentencepiece==0.2.0", # Pinned to 0.2.0 due to issues in v0.2.1 (reverts espnet/espnet#6345)

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 size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant