Skip to content

Conversation

@kartiki975
Copy link
Contributor

@kartiki975 kartiki975 commented Apr 15, 2025

This upgrade is needed for an internal Shopify ticket.

To upgrade to Rails, ruby version 3.2+ is now required. Additionally, sqlite3 gem was updated to be able to run unit tests locally.

To support, ruby version 3.2+, rubocop had to be upgraded. That has been done in the base PR.

@kartiki975 kartiki975 force-pushed the upgrade-rails-to-8.0 branch 2 times, most recently from bdbe75e to 4975ab1 Compare April 15, 2025 16:34
@kartiki975 kartiki975 changed the title Upgrade rails to 8.0 [WIP] Upgrade rails to 8.0 Apr 15, 2025
@kartiki975
Copy link
Contributor Author

kartiki975 commented Apr 15, 2025

@casperisfine / @byroot As a side-effect of upgrading to rails 8.0, ruby needs to be upgraded to 3.2 and as a side effect of that Rubocop is failing. If I am not mistaken, the only way to correct the Rubocop failure is upgrading rubocop-shopify to a newer version.
I saw you rejected a version upgrade of rubocop-shopify. Would you be open to the possibility of upgrading rubocop-shopify or see any workarounds that would unblock me from upgrading rails to 8.0 here?

@byroot
Copy link
Contributor

byroot commented Apr 15, 2025

Just remove rubocop-shopify. It never made any sense in this repo, I don't remember who sneaked it in, but it certainly isn't me.

@kartiki975

This comment was marked as outdated.

@kartiki975 kartiki975 force-pushed the upgrade-rails-to-8.0 branch from c59d15a to 45529c7 Compare April 16, 2025 22:22
@kartiki975 kartiki975 changed the base branch from main to update-rubocop-to-support-ruby-3.2 April 16, 2025 22:22
@kartiki975 kartiki975 force-pushed the upgrade-rails-to-8.0 branch from 45529c7 to 0e518ff Compare April 16, 2025 22:31
@kartiki975 kartiki975 changed the title [WIP] Upgrade rails to 8.0 Upgrade rails to 8.0 Apr 16, 2025
@kartiki975 kartiki975 changed the title Upgrade rails to 8.0 Upgrade Rails to 8.0 Apr 16, 2025
@kartiki975 kartiki975 requested a review from casperisfine April 16, 2025 22:35
@kartiki975 kartiki975 force-pushed the update-rubocop-to-support-ruby-3.2 branch 2 times, most recently from d187b84 to 8222b23 Compare April 17, 2025 16:23
Base automatically changed from update-rubocop-to-support-ruby-3.2 to main April 17, 2025 16:37
Update to required ruby version 3.2

update sqlite3 gem
@kartiki975 kartiki975 force-pushed the upgrade-rails-to-8.0 branch from 0e518ff to b2f75f5 Compare April 17, 2025 19:43
@kartiki975
Copy link
Contributor Author

Tophat was successful

@kartiki975
Copy link
Contributor Author

This will be merged on Monday.

@kartiki975 kartiki975 merged commit a4cbc91 into main Apr 21, 2025
13 checks passed
@kartiki975 kartiki975 deleted the upgrade-rails-to-8.0 branch April 21, 2025 14:24
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