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

Quit CIing against Rubies < 2.7 and Rails < 4.2 #713

Merged
merged 5 commits into from
Aug 11, 2024

Conversation

amatsuda
Copy link
Contributor

This follows up bc8c3e6.

TBH I'm not sure if Ruby 2.7 can run all the tests here on Rails 4, but let's try anyway.

@amatsuda
Copy link
Contributor Author

Currently happening error on Rails 4.0 and 4.1 has been fixed with this patch in Arel 6, and this patch was not back ported to neither Arel 4 nor Arel 5.

So I think there are two options for us:

  1. Bring Ruby 2.4 support back, and run Rails 4 CI on Ruby 2.4
  2. Drop Rails 4.0 and 4.1 support

WDYT?

@flyerhzm
Copy link
Owner

@amatsuda I was trying to upgrading ruby to 2.7.0 but not done yet, thanks for helping.
I prefer dropping rails 4.0 and 4.1 support.

@amatsuda amatsuda changed the title Quit CIing against Rubies < 2.7 Quit CIing against Rubies < 2.7 and Rails < 4.2 Aug 11, 2024
Rails < 4.2 that require Arel < 6 doesn't seem to run on Ruby >= 2.5 due
to this bug that was never backported to Arel < 6
rails/arel#439

And now that we support Ruby >= 2.7 only, no supported version of Ruby
can run Rails < 4.2.
because Rails 4 internally calls `BigDecimal.new` which has been removed
since bigdecimal 2.0.
@amatsuda
Copy link
Contributor Author

@flyerhzm OK, added another commit that drops Rails < 4.2 from the CI.

@flyerhzm flyerhzm merged commit c86dbb2 into flyerhzm:main Aug 11, 2024
9 checks passed
@flyerhzm
Copy link
Owner

@amatsuda thank you.

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.

2 participants