-
Notifications
You must be signed in to change notification settings - Fork 118
Add Ruby 4.0.0 preview to CI #1478
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
base: main
Are you sure you want to change the base?
Conversation
|
✔️ All good! |
c8f4582 to
2ea5205
Compare
a89e091 to
9ea1908
Compare
|
A deprecation in |
5461345 to
124ee9e
Compare
Run our tests against Ruby's `4.0.0-preview2` on our CI anywhere where we were already running them against `3.5.0-preview1`.
- Use `URI.decode_www_form` instead of `CGI.parse`, which has now been removed, to validate the query string sent by the transmitter. - When testing against Bundler versions that raise an error when `Bundler.rubygems.all_specs` is called, skip the test. This test was already skipped if the method is not implemented. - Use a regular expression to assert the logs content when a `Set` object is rejected by the sample data, accounting for the different output of `Set.inspect` in Ruby 4.
Padrino and Hanami have dependencies that ultimately depend on `bundler < 3`. This makes them incompatible with Ruby 4 for the time being. We should re-assess this after Ruby 4 is released and the affected libraries release the necessary updates.
124ee9e to
eaf056b
Compare
|
Hi @unflxw, We've found new issues for this Pull Request. Please see the main comment on this issue for a list of all current warnings. This comment will not be updated to reflect resolved warnings.
|
tombruijn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess Ruby 3.5.0 isn't happening anymore? We have the preview1 in the CI, but if they're going forward with Ruby 4 then we could remove it from our CI, right?
[skip changeset] because all changes are to the CI configuration and tests -- no implementation change was made
Add Ruby 4.0.0 preview to CI
Run our tests against Ruby's
4.0.0-preview2on our CI anywherewhere we were already running them against
3.5.0-preview1.Fix test failures in Ruby 4
URI.decode_www_forminstead ofCGI.parse, which has nowbeen removed, to validate the query string sent by the transmitter.
Bundler.rubygems.all_specsis called, skip the test. This testwas already skipped if the method is not implemented.
Setobject is rejected by the sample data, accounting for the different
output of
Set.inspectin Ruby 4.Exclude Padrino and Hanami from Ruby 4 CI
Padrino and Hanami have dependencies that ultimately depend on
bundler < 3. This makes them incompatible with Ruby 4 for thetime being.
We should re-assess this after Ruby 4 is released and the affected
libraries release the necessary updates.