-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(maint) Relax Ruby requirement #401
Conversation
I ran into issues with this originally when Dependabot attempted to bump spec_helper in the resource_api: puppetlabs/puppet-resource_api#313 |
b6afe1c
to
69398ad
Compare
Hey @mhashizume I wanted to check why we want this change? Is there an issue it causes you directly or something that can't be delivered? There are a number of technical issues expanding out the supported ruby versions so we want to understand the need to change this. |
Hi @davidsandilands , this is not directly a blocker or problem for me at the moment, but a few thoughts:
That being said, as I mentioned this is not an issue for me personally right now. I just thought I'd put up this PR in case other folks hit this issue directly or the CAT team anticipates that this could be a larger issue as people move over to >= 6.0. |
69398ad
to
097c468
Compare
Prior to this commit, puppetlabs_spec_helper required Ruby >= 2.7 in its Gemspec. Puppetserver 7, which is expected to be supported as part of PE 2021.7.z LTS through 2025, uses JRuby 9.3.y.z which targets compatibility with Ruby 2.6 and uses that in its RUBY_VERSION. Also, Puppet 7 lists its required Ruby as >= 2.5 in the Gemspec. This commit relaxes the gemspec's Ruby requirements from >= 2.7 to >= 2.5 to allow full compatibility with Puppet and Puppetserver 7.
097c468
to
a8b5776
Compare
Yes, but why does it matter? the gem isnt ment to be used on old jruby. We bumped to 2.7 because thats what Puppet Agent 7 uses, also ruby 2.5 is EoL. |
@mhashizume following conversation with the team, we have decided as this is not a blocking issue, so we are not going to go forward with relaxing the pins. The reason being relaxing the pins suggest we support modules on the older versions of Ruby (which we don’t, they are just too old and it is impossible to support everything). That does not mean that they aren’t compatible we just don’t feel it is feasible or makes sense to support and test on versions of ruby that have been EOL for a long period of time. If this position does change and it becomes blocking please contact us and we can work out best approach with you. |
Prior to this commit, pupeptlabs_spec_helper required Ruby >= 2.7 in its Gemspec.
Puppetserver 7, which is expected to be supported as part of PE 2021.7.z LTS through 2025, uses JRuby 9.3.y.z which targets compatibility with Ruby 2.6 and uses that in its RUBY_VERSION.
Also, Puppet 7 lists its required Ruby as >= 2.5 in the Gemspec.
This commit relaxes the gemspec's Ruby requirements from >= 2.7 to >= 2.5 to allow full compatibility with Puppet and Puppetserver 7.