-
Notifications
You must be signed in to change notification settings - Fork 23
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
Upgrade ruby to 3.3 #233
base: main
Are you sure you want to change the base?
Upgrade ruby to 3.3 #233
Conversation
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Simplecov Report
|
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
Quality Gate passedIssues Measures |
Quality Gate failedFailed conditions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruby 3.0 minimum
@@ -43,7 +43,7 @@ Gem::Specification.new do |gem| | |||
gem.add_dependency "mixlib-shellout", ">= 2.0", "< 4.0" | |||
gem.add_dependency "ffi-yajl", ">= 1.0", "< 3.0" | |||
gem.add_dependency "minitar", "~> 0.6" | |||
if RUBY_VERSION.match?(/3.1/) | |||
if RUBY_VERSION.match?(/3.3/) | |||
gem.add_dependency "chef", "~> 18.0" | |||
else | |||
gem.add_dependency "chef", "~> 17.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that the required_ruby_version
is ">= 3.3"
, this would seem to indicate that if you have Ruby 3.4 installed, that you'll be locked to Chef 17, which I'm not sure will work out.
@@ -29,7 +29,7 @@ Gem::Specification.new do |gem| | |||
gem.license = "Apache-2.0" | |||
gem.homepage = "https://www.chef.io/" | |||
|
|||
gem.required_ruby_version = ">= 2.7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are still releasing at least one last bug fix release for Chef 17, and therefore would have Ruby 3.0.x on that version
|
||
- label: run-specs-ruby-3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still need Ruby 3.0 and Ruby 3.1 tests passing until Chef 17 and 18 (respectively) are EOL.
Description
Added verify pipeline for ruby 3.3
Related Issue
https://chefio.atlassian.net/browse/CHEF-12434
Types of changes
Checklist:
Gemfile.lock
has changed, I have used--conservative
to do it and included the full output in the Description above.