Skip to content
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

Change ruby version to 3.2.2 #21498

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Change ruby version to 3.2.2 #21498

merged 1 commit into from
Sep 11, 2023

Conversation

crazytonyli
Copy link
Contributor

@crazytonyli crazytonyli commented Sep 6, 2023

Ruby 2.7.4 has reached end of life and it's about time that we migrate our Ruby toolings to Ruby 3.

Risk

The only risk I can see is there is a small chance that release tasks (that rely on release-toolkit) may break on Ruby 3, which we can't test at PR stage. But if that does happen and it's difficult to solve it properly, we can revert back to Ruby 2.7.4 by changing .ruby-version file (or revert the only comment in this PR).

Regression Notes

N/A

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding unit tests for my changes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

UI Changes testing checklist: N/A

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Sep 6, 2023

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr21498-17ec957
Version23.2
Bundle IDorg.wordpress.alpha
Commit17ec957
App Center BuildWPiOS - One-Offs #7007
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Sep 6, 2023

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr21498-17ec957
Version23.2
Bundle IDcom.jetpack.alpha
Commit17ec957
App Center Buildjetpack-installable-builds #6051
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@crazytonyli crazytonyli requested a review from mokagio September 10, 2023 21:08
@crazytonyli crazytonyli added this to the 23.3 milestone Sep 10, 2023
@crazytonyli crazytonyli self-assigned this Sep 10, 2023
@crazytonyli crazytonyli marked this pull request as ready for review September 10, 2023 21:09
Copy link
Contributor

@mokagio mokagio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm game for merging and addressing any Ruby issue that may arise.

I don't think it's worth trying to test them ahead of time, e.g. with a dummy release. I also think that, unless the issue turns out to be huge and expensive to fix, we'll be better off fixing them as soon as they come rather than reverting. Otherwise, we're only pushing the cost of fixing the issue to the future.

@crazytonyli crazytonyli merged commit 0c460af into trunk Sep 11, 2023
@crazytonyli crazytonyli deleted the migrate-to-ruby-3 branch September 11, 2023 02:08
@crazytonyli
Copy link
Contributor Author

@mokagio Feel free to ping me if there is any issue 😃

mokagio added a commit that referenced this pull request Sep 11, 2023
17ec957 (#21498) switched the expected
Ruby version to 3.x (🎉)

Our Ruby linting automation only runs on diffed files so it didn't catch
new violations that arose from the migration. The only reason I noticed,
actually was because I just happened to modify the `Podfile` in
8df0aa0 (#21344) and got a CI failure.
@mokagio mokagio mentioned this pull request Sep 11, 2023
4 tasks
mokagio added a commit that referenced this pull request Sep 11, 2023
17ec957 (#21498) switched the expected
Ruby version to 3.x (🎉)

Our Ruby linting automation only runs on diffed files so it didn't catch
new violations that arose from the migration. The only reason I noticed,
actually was because I just happened to modify the `Podfile` in
8df0aa0 (#21344) and got a CI failure.
mokagio added a commit that referenced this pull request Sep 15, 2023
17ec957 (#21498) switched the expected
Ruby version to 3.x (🎉)

Our Ruby linting automation only runs on diffed files so it didn't catch
new violations that arose from the migration. The only reason I noticed,
actually was because I just happened to modify the `Podfile` in
8df0aa0 (#21344) and got a CI failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants