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

test: Update Appraisals for Rails 7.2 #1112

Merged

Conversation

kaylareopelle
Copy link
Contributor

@kaylareopelle kaylareopelle commented Aug 12, 2024

  • Rails 7.2.0 was released on August 9, 2024. Add appraisals for the new version.
  • pg was installing activerecord 3.2, this sets a bottom limit of 6.1, the oldest supported version of Rails
  • que is not yet compatible with Rails 7.2, so set a constraint to install something between 6.1 and 7.1 (it will be compatible once Fix activerecord 7.1 and 7.2 deprecations que-rb/que#423 is merged)

Resolves #1113

(I had this prefixed to chore, but switched it to test, not sure if one is preferred over the other)

Rails 7.2.0 requires Ruby 3.1. We test on Ruby 3.0.
Prevent running the 7.2 tests on that version.
There is also a bottom constraint of Rails
(or Rails-related gems) 6.1.0 to prevent
cases where Rails 3.2.0 was installed instead.

The gems need updates to support Rails 7.2.
@kaylareopelle kaylareopelle changed the title chore: Add Appraisals for Rails 7.2 chore: Update Appraisals for Rails 7.2 Aug 12, 2024
@kaylareopelle kaylareopelle changed the title chore: Update Appraisals for Rails 7.2 test: Update Appraisals for Rails 7.2 Aug 12, 2024
The bundle would install activerecord 3.2 without this constraint.
@kaylareopelle kaylareopelle merged commit c7569f5 into open-telemetry:main Aug 12, 2024
61 checks passed
@kaylareopelle kaylareopelle deleted the add-rails-72-appraisals branch August 12, 2024 20:51
This was referenced Aug 14, 2024
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.

Add support for Rails 7.2.0
2 participants