Skip to content

(PA-8499) Relax commander constraint#258

Merged
mhashizume merged 1 commit into
mainfrom
PA-8499/main/relax-commander-constraint
May 21, 2026
Merged

(PA-8499) Relax commander constraint#258
mhashizume merged 1 commit into
mainfrom
PA-8499/main/relax-commander-constraint

Conversation

@mhashizume
Copy link
Copy Markdown
Contributor

@mhashizume mhashizume commented May 21, 2026

Summary

In Ruby 3.4, abbrev was promoted from a default gem to a bundled gem. highline 1.x/2.x require abbrev and now fail to load under Ruby 3.4 unless an explicit dependency on it is declared. highline 3.0 removed that dependency.

commander pins highline transitively: 4.x requires highline ~> 2.0, and only commander 5.0 requires highline ~> 3.0. Relaxing the upper bound to < 6 lets vmfloaty resolve to highline 3.x on Ruby 3.4+ while still allowing commander 4.x for consumers that need it.

This unblocks consumers (e.g. beaker-abs) that need to pull in highline >= 3.0 for Ruby 3.4+ support.

Jira: PA-8499

Changes

  • vmfloaty.gemspec: commander '>= 4.4.3', '< 4.7.0'commander '>= 4.4.3', '< 6'
  • Gemfile.lock: commander 4.6.0 → 5.0.0, highline 2.0.3 → 3.0.1 (bundler resolves to the newest version in range)

Test plan

  • `bundle exec rake spec` — 139 examples, 0 failures
  • `bundle exec floaty --help` runs cleanly under commander 5.0
  • CI green

Notes

Closes #211 (the open dependabot PR that proposed the more conservative `< 5.1.0` cap).

🤖 Generated with Claude Code

@mhashizume mhashizume requested a review from a team as a code owner May 21, 2026 17:22
@mhashizume mhashizume added the dependencies Pull requests that update a dependency file label May 21, 2026
Comment thread vmfloaty.gemspec Outdated
In Ruby 3.4, abbrev was promoted from a default gem to a bundled gem.
highline 1.x/2.x require abbrev and now fail to load under Ruby 3.4
unless an explicit dependency on it is declared. highline 3.0 removed
that dependency.

commander pins highline transitively: 4.x requires highline ~> 2.0,
and only commander 5.0 requires highline ~> 3.0. Relaxing the upper
bound to '< 6' lets vmfloaty resolve to highline 3.x on Ruby 3.4+
while still allowing commander 4.x for older consumers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mhashizume mhashizume force-pushed the PA-8499/main/relax-commander-constraint branch from 062e89e to dbcde7a Compare May 21, 2026 17:56
@mhashizume mhashizume changed the title (PA-8499) Bump commander to ~> 5.0 (PA-8499) Relax commander constraint May 21, 2026
@mhashizume mhashizume merged commit 731ef3d into main May 21, 2026
5 checks passed
@mhashizume mhashizume deleted the PA-8499/main/relax-commander-constraint branch May 21, 2026 18:05
@isaac-jha isaac-jha mentioned this pull request May 21, 2026
2 tasks
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants