Skip to content

(BOLT-136) Remove upper bound from ruby_task_helper dependency - #41

Closed
gavindidrichsen wants to merge 0 commit into
mainfrom
bolt-136-maint-bump-ruby_task_helper-dependency
Closed

(BOLT-136) Remove upper bound from ruby_task_helper dependency#41
gavindidrichsen wants to merge 0 commit into
mainfrom
bolt-136-maint-bump-ruby_task_helper-dependency

Conversation

@gavindidrichsen

@gavindidrichsen gavindidrichsen commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps the ruby_task_helper dependency upper bound in metadata.json from <= 1.0.0 to < 2.0.0, keeping the original lower bound: >= 0.1.0 <= 1.0.0>= 0.1.0 < 2.0.0.

Note: This module previously had its upper bound bumped from < 1.0.0 to <= 1.0.0 via PR #37. This PR further widens it to < 2.0.0 to align with the approach taken across all other affected modules.

Background — BOLT-136

Bolt 5.x ships ruby_task_helper 1.0.1 (pinned in bolt-private's Puppetfile). Modules that declare an upper bound of < 1.0.0 (or <= 1.0.0 which excludes 1.0.1) on ruby_task_helper cause a dependency resolution failure when users run bolt module install:

Unable to resolve modules: Puppetfile Resolver could not find compatible versions
for possibility named "ruby_task_helper":
  puppetlabs-ruby_task_helper 1.0.1
  puppetlabs-terraform depends on puppetlabs-ruby_task_helper >= 0.1.0 <= 1.0.0

This blocks Puppet 8 / Bolt 5 users from installing any module bundle that includes this module alongside ruby_task_helper > 1.0.0.

Change

- "version_requirement": ">= 0.1.0 <= 1.0.0"
+ "version_requirement": ">= 0.1.0 < 2.0.0"

The upper bound is bumped to < 2.0.0 (SemVer-aligned) to unblock ruby_task_helper 1.x while still guarding against a hypothetical breaking 2.x release.

How it was tested

1. Constraint verification (before fix)

Confirmed the original constraint violation with the published Forge version:

$ bolt module install
Unable to resolve modules: Puppetfile Resolver could not find compatible versions
for possibility named "ruby_task_helper":
  puppetlabs-ruby_task_helper 1.0.1
  puppetlabs-terraform 0.7.1 depends on puppetlabs-ruby_task_helper >= 0.1.0 < 1.0.0

2. Cross-module Puppetfile resolution

Verified that all 5 affected modules resolve cleanly together with ruby_task_helper 1.0.1 using bolt's Puppetfile resolver. This confirms no remaining constraint conflicts across the module set.

Related PRs

This is one of 5 coordinated PRs across affected modules:

All apply the same change: bump the ruby_task_helper upper bound to < 2.0.0.

@gavindidrichsen
gavindidrichsen marked this pull request as ready for review May 13, 2026 14:43
@gavindidrichsen
gavindidrichsen requested a review from a team as a code owner May 13, 2026 14:43
Comment thread metadata.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants