Skip to content

fix: pin bigdecimal to < 4 to avoid broken transitive installs via activesupport#833

Merged
Nik08 merged 1 commit into
mainfrom
ch/pinning_bigdecimal
Jun 11, 2026
Merged

fix: pin bigdecimal to < 4 to avoid broken transitive installs via activesupport#833
Nik08 merged 1 commit into
mainfrom
ch/pinning_bigdecimal

Conversation

@chandra-progress

@chandra-progress chandra-progress commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Pins bigdecimal to < 4 in train.gemspec to prevent broken installs on platforms like el-7-aarch64 and el-7-x86_64.

bigdecimal 4.x is incompatible with certain runtimes. Without this pin, a bare gem install train resolves activesupport's transitive dependency to bigdecimal 4.x and fails.

ad-hoc build: https://buildkite.com/chef/inspec-inspec-inspec-5-omnibus-adhoc/builds/339#_
inspec test PR : inspec/inspec#7941

Files Changed

  • train.gemspec — added spec.add_dependency "bigdecimal", "< 4"

Testing

Change is a dependency constraint only; no functional code changed. Existing test suite validates gemspec correctness.

Risk

Low — constrains a transitive dependency to a known-good version range already present in Gemfile.lock.

This work was completed with AI assistance following Progress AI policies.

…tivesupport

bigdecimal 4.x is incompatible with certain platforms (el-7-aarch64,
el-7-x86_64). Without this pin, a bare 'gem install train' resolves
activesupport's transitive dependency to bigdecimal 4.x and fails.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Chandra <[email protected]>
@chandra-progress chandra-progress requested a review from a team as a code owner June 10, 2026 12:23
@chandra-progress chandra-progress added the ai-assisted Work completed with AI assistance following Progress AI policies label Jun 10, 2026
@Nik08 Nik08 merged commit b156da6 into main Jun 11, 2026
62 of 63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted Work completed with AI assistance following Progress AI policies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants