-
Notifications
You must be signed in to change notification settings - Fork 898
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
Support ruby 3 #21531
Support ruby 3 #21531
Conversation
46a3d9c
to
f1187a7
Compare
spec/models/manageiq/providers/ansible_playbook_workflow_spec.rb
Outdated
Show resolved
Hide resolved
@miq-bot cross-repo-tests /all ManageIQ/inventory_refresh#97 |
From Pull Request: ManageIQ/manageiq#21531
@miq-bot cross-repo-tests /all ManageIQ/inventory_refresh#97 |
From Pull Request: ManageIQ/manageiq#21531
From Pull Request: ManageIQ/manageiq#21531
@miq-bot cross_repo_tests #21531, /all including #21531, ManageIQ/inventory_refresh#97 |
From Pull Request: ManageIQ/manageiq#21531
@miq-bot cross_repo_tests #21531,/core including #21531, ManageIQ/inventory_refresh#97 |
From Pull Request: ManageIQ/manageiq#21531
Depends on ruby 3 support via ManageIQ/manageiq#21531 Depends on ManageIQ/manageiq-rpm_build#304 for ruby 3 rpm builds
Gemfile
Outdated
@@ -1,5 +1,5 @@ | |||
raise "Ruby versions < 2.6.0 are unsupported!" if RUBY_VERSION < "2.6.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.
Should this change to make 2.7 the minimum?
Gemfile
Outdated
@@ -85,7 +85,7 @@ gem "mime-types", "~>3.0", :require => false, | |||
|
|||
# Modified gems (forked on Github) | |||
gem "handsoap", "=0.2.5.5", :require => false, :source => "https://rubygems.manageiq.org" # for manageiq-gems-pending only | |||
gem "ruport", "=1.7.0.3", :source => "https://rubygems.manageiq.org" | |||
gem "ruport", "~>1.8.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.
If this is no longer modified we should move it into the "regular gems" section.
I'm finished suggested changes and restarted the cross repo tests: ManageIQ/manageiq-cross_repo-tests#706 I think we're ready to merge when things are green. |
Checked commits jrafanie/manageiq@04e0622~...f9469b7 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
@agrare @bdunne @kbrock @Fryguy Ok, this is green, the 3.0 results are the same as the 2.7 ones (ui-service and api fail in the same way): ManageIQ/manageiq-cross_repo-tests#706 I think we're ready to merge this and start building pods and appliances and ensuring all the repositories are testing with 3.0 going forward. |
raise "Ruby versions < 2.6.0 are unsupported!" if RUBY_VERSION < "2.6.0" | ||
raise "Ruby versions >= 3.0.0 are unsupported!" if RUBY_VERSION >= "3.0.0" | ||
raise "Ruby versions < 2.7.0 are unsupported!" if RUBY_VERSION < "2.7.0" | ||
raise "Ruby versions >= 3.1.0 are unsupported!" if RUBY_VERSION >= "3.1.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.
2.7 minimum and 3.0.x maximum
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.
Let's upgrade to ruby 3
Need new gems:
Needs merge, release, then we can use that release0.1.1.3 releasedneeds release, then, we can bump the provider to use this version1.0.2 releasedneeds releasereleased as 1.8.0Dependencies:
After this PR is merged: