-
Notifications
You must be signed in to change notification settings - Fork 897
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 to Ruby 2.4 for development #14446
Comments
@jrafanie why isn't hawkular-ruby-client on the list of gems that need update? |
@abonas I go through my Gemfile.lock and add ones we own or partially own to this list as I get a chance to try them. If you have others we should add, please add them or mention them here and I'll add them. Thanks! |
I believe at least a few of our gems depend on webmock for testing. Hopefully, we can upgrade webmock and be able to use the same cassettes from webmock in 2.4 and earier rubies. |
indeed @jrafanie |
@abonas So, it wasn't announced to the larger miq community yet for a few reasons:
So, yes, you were a pilot user/developer. I will announce something once we get the above bullet points completed. |
Does this also require an update to puma (3.7.1ish) sometime so as to avoid puma/puma#1220? |
@d-m-u thanks for the headsup... I haven't seen this problem on ruby 2.4.1... Maybe it's only on 2.4.0? |
Whoops, sorry, yeah, you're right. |
@jrafanie Can we update the OP note on manageiq-gems-pending now and check it off as done? |
I propose waiting for next Ruby release before using it in production builds. Not a problem on Travis and not a blocker to dropping 2.2 IMHO. |
@jrafanie I just ran the full test suite with Ruby 2.4 with no issues or deprecations, etc. I did not go through every single dependency as seems to be a huge time suck for the vast majority of gems to not be affected in any way; I think we've already got all the essential ones. Tomorrow (Tuesday) we should open all pull requests across all ManageIQ repos to drop 2.2 and add 2.4 to test matrices, etc, to let CI run everything and make sure everything's green. Then we rebase it all and merge on Wednesday morning. |
As discussed, plans have changed slightly and a more official process has been agreed to. We're dropping Ruby 2.2 today, updating @miq-bot, etc, but will be continuing to run appliances on 2.3.1, as dictated by the supported version in Red Hat Software Collections. We'll also add a 2.4.2 Travis build, which will conclude supporting 2.4 and then this issue can be closed. |
I would suggest high level steps as:
The following can be started now and be done in parallel:
but not yet released2.4.2.travis.yml
and drop 2.2 if it makes senseAfter the above is done:
Update docker build to use ruby 2.4.0 1 2''Update manageiq-appliance-build to use ruby 2.4.0.travis.yml
to 2.4The text was updated successfully, but these errors were encountered: