Closed bastelfreak closed 1 year ago
Echoing https://github.com/voxpupuli/puppet-blacksmith/pull/109#issuecomment-1474171820 I'd only drop 2.4 for now as I don't think you're helping anyone by being overly aggressive without tangible benefits.
Puppet 6 (with Ruby 2.5) has only just gone EOL. IMO it's not helping people upgrading from 6 to 7 if we drop ruby 2.5 support in all the core testing gems.
It might not help them, but it doesn't hurt them. The gem works fine with Ruby 2.5/Puppet 6 and with Ruby 2.7/Puppet 7. I think it even works already with Puppet 8. So why should we keep support for a ruby version that left normal maintenance mode at 2020-04-01 and does not even get security updates since 2021-04-05?
And as mentioned in the blacksmith PR, we need to bump the minimal Ruby version, at least for acceptance tests, to 2.7 anyways with the next major beaker release.
Will this limit its inclusion with the PDK?
I don't think so. Why should it limit this? pdk-tempaltes just needs to pin to the current major version of rspec-puppet-facts. Which it already does: https://github.com/puppetlabs/pdk-templates/blob/2.7.3/config_defaults.yml#L587-L588
But it will then miss out on the legacy facts stuff we've started working on, and I think that would be a shame and hurt users.
We don't need to merge this now, we can first merge https://github.com/voxpupuli/rspec-puppet-facts/pull/143 and do a final minor release.
Until supporting ruby 2.5 is actually holding us back (limiting what version of rubocop we can use, or some new ruby feature we would like), I'm strongly in favour of not advancing past the versions of ruby that ship with the PDK.
I agree with @alexjfisher that - besides beaker - dropping Ruby 2.5 is a tad too aggressive for now.
Also FWIW puppetserver 7's jruby is only ruby 2.6 compatible.
Codecov Report
Patch and project coverage have no change.
Additional details and impacted files
```diff @@ Coverage Diff @@ ## master #149 +/- ## ======================================= Coverage 94.93% 94.93% ======================================= Files 2 2 Lines 158 158 ======================================= Hits 150 150 Misses 8 8 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=voxpupuli). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=voxpupuli):umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.