-
Notifications
You must be signed in to change notification settings - Fork 352
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
Error updating r10k to v. 3.7.0 on Centos 7: "cri requires Ruby version >= 2.5." #1121
Comments
Hi @gdubicki, thanks for opening this issue! It looks like cri dropped support for old versions of Ruby in a Z release in December.. 😒 The current version of r10k allows using cri 2.15.10, which is the last version to support the old Ruby versions, so you should be able to continue using it. I will look into getting this fixed, but we plan to drop support for Ruby < 2.5 in our next major release. |
This commit pins cri to 2.15.10 because they dropped support for Ruby 2.3 and 2.4 in cri 2.15.11. This allows us to maintain support for those Ruby versions, since we still support them in the Puppet 6 stream. We plan to loosen this dependency and drop support for Ruby < 2.5 in the next major release of r10k.
This commit pins cri to 2.15.10 because they dropped support for Ruby 2.3 and 2.4 in cri 2.15.11. This allows us to maintain support for those Ruby versions, since we still support them in the Puppet 6 stream. We plan to loosen this dependency and drop support for Ruby < 2.5 in the next major release of r10k.
Fixed by #1135 |
Describe the Bug
Expected Behavior
It should update.
Steps to Reproduce
/opt/puppetlabs/puppet/bin/gem install -v 3.7.0 r10k
Environment
Puppet: 5.5.22
CentOS Linux release 7.5.1804 (Core)
Additional Context
I did work around this with updating cri to 2.15.6 first and then updating r10k.
But the same r10k update worked on our test puppetmaster in December without such workarounds.
I guess that r10k doesn't pin the cri package version so when updating it tries to install the latest cri which is incompatible with ruby 2.4 bundled with Puppet 5.5. I suppose that pinning the cri version should help.
The text was updated successfully, but these errors were encountered: