-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ruby upgrade to 3.3 #25
Conversation
Signed-off-by: nikhil2611 <[email protected]>
Quality Gate passedIssues Measures |
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.
3.0 is still supported in Chef 18.
@@ -25,7 +25,7 @@ Gem::Specification.new do |s| | |||
s.name = "berkshelf" | |||
s.require_paths = ["lib"] | |||
s.version = Berkshelf::VERSION | |||
s.required_ruby_version = ">= 2.7.0" | |||
s.required_ruby_version = ">= 3.3" |
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.
This will break everything that depends on it. ">= 3.0"
is the best we can do.
if RUBY_VERSION.match?(/3.0/) | ||
s.add_dependency "chef", "~> 17.0" # needed for --skip-syntax-check | ||
elsif | ||
if RUBY_VERSION.match?(/3.3/) |
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.
Chef 18 and 3.3 are by definition not going to be paired together unless installed as a gem. Chef 18 supports Ruby 3.0 for AIX and Ruby 3.1 for other platforms.
We need to have a discussion about how to go about this. |
Description
Ruby upgrade to 3.3 and chef to latest - 18.5
Issues Resolved
Check List