-
Notifications
You must be signed in to change notification settings - Fork 899
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 2.7 #19678
Comments
Warnings:
|
Add the gem for forward compatibility. Found in ManageIQ#19678
ArgumentError: wrong number of arguments (given 0, expected 1)
/Users/duhlmann/manageiq/lib/extensions/ar_types.rb:4:in 'initialize_type_map'
/Users/duhlmann/.rvm/gems/ruby-2.7.0-preview1/gems/activerecord-5.2.4.1/lib/active_record/connection_adapters/postgresql_adapter.rb:235:in 'initialize' fixed by passing the instance var in 235 of the adapter |
the |
Add the gem for forward compatibility. Found in ManageIQ#19678
|
Do you care about keyword arg warnings in gems outside manageiq?
|
I'd rather not have to pull in |
yeah, we'll want to pull in any new versions that support ruby 2.7 where possible. Can we safely upgrade kubeclient to get more 2.7 support? |
Working on updating to to a newer kubeclient version, updating manageiq-providers-kubevirt to work with a newer version of fog-kuebvirt so we're not stuck on kubeclient 4.1 ManageIQ/manageiq-providers-kubevirt#160 and ManageIQ/manageiq-providers-kubernetes#368 |
We need to move to at least kubeclient v4.5 due to this issue ManageIQ/kubeclient#442 We are currently limited to 4.3 until we can get a release of fog-kubevirt with fog/fog-kubevirt#145 |
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per #19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
[LASKER] Lockdown tests to use ruby 2.6.6 per ManageIQ/manageiq#19678
…plus Update developer setup for 2.6+ per ManageIQ/manageiq#19678.
Done 🎉 |
Test with ruby 2.6.6 and 2.7.2 per ManageIQ/manageiq#19678
Fixes various warnings of this variety: app/models/file_depot_ftp.rb:128: warning: URI.escape is obsolete app/models/mixins/file_depot_mixin.rb:42: warning: URI.escape is obsolete From: ManageIQ/manageiq#21036 Related: ManageIQ/manageiq#19678 (transferred from ManageIQ/manageiq-gems-pending@3bddaa4)
Fixes various warnings of this variety: app/models/file_depot_ftp.rb:128: warning: URI.escape is obsolete app/models/mixins/file_depot_mixin.rb:42: warning: URI.escape is obsolete From: ManageIQ/manageiq#21036 Related: ManageIQ/manageiq#19678 (transferred from ManageIQ/manageiq-gems-pending@3bddaa4)
Fixes various warnings of this variety: app/models/file_depot_ftp.rb:128: warning: URI.escape is obsolete app/models/mixins/file_depot_mixin.rb:42: warning: URI.escape is obsolete From: ManageIQ/manageiq#21036 Related: ManageIQ/manageiq#19678 (transferred from ManageIQ/manageiq-gems-pending@3bddaa4)
Fixes various warnings of this variety: app/models/file_depot_ftp.rb:128: warning: URI.escape is obsolete app/models/mixins/file_depot_mixin.rb:42: warning: URI.escape is obsolete From: ManageIQ/manageiq#21036 Related: ManageIQ/manageiq#19678 (transferred from ManageIQ/manageiq-gems-pending@3bddaa4)
Test with ruby 2.6.6 and 2.7.2 per ManageIQ/manageiq#19678 (cherry picked from commit 3d7ed92)
(cherry picked from commit 50f9f78)
Test with ruby 2.6.6 and 2.7.2 per ManageIQ/manageiq#19678 (cherry picked from commit bd9b76a)
This issue has been mentioned on ManageIQ Forum. There might be relevant details there: https://talk.manageiq.org/t/moving-to-ruby-2-7-on-master/5551/2 |
Motivation: ruby 2.5 is EOL 2021-03-31 so we need 2.7 and 2.6 to be the supported rubies.
Work to be done:
Current maintenance schedule for ruby as of 2021-02-09 here:
Errors:
Some standard libraries were extracted to gems:
config gem blows up on missing new_ostruct_member, fixed/triaged here (PR merged, gem with fix released)
"warning: Capturing the given block using Proc.new is deprecated; use
&block
instead\n"Causes many test failures checking the output to be empty:
The text was updated successfully, but these errors were encountered: