| The puppet 8.0.0 gem on rubygems. org lists the minimum required version as >= 2.7, but will fail to run if the actual ruby version is < 3.1. So module CI using Ruby 2.7 or 3.0 with unconstrained puppet versions will pull in the puppet 8 gem and fail. I'm going to file a pdk lint check for unconstrained puppet versions, but that being said, the puppet gem versioning should be consistent. This issue was caused because we have two sources of truths for gem metadata. We bumped .gemspec, but not ext/project_data.yaml. The latter is what is actually used when building & shipping gems. There are two sources of truth, because circa 8+ years ago, ruby and bundler didn't handle platform specific gems well. So we added the gem dependencies to project_data.yaml. We added this note to the .gemspec and project_data.yaml to try to avoid this, but didn't take our own advice. See also PA-1077 |