-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
Support ruby 3.4 #19752
base: main
Are you sure you want to change the base?
Support ruby 3.4 #19752
Conversation
f3e3efe
to
de83a11
Compare
@@ -32,6 +32,8 @@ Gem::Specification.new do |s| | |||
s.add_development_dependency "rake-compiler-dock", "= 1.2.1" |
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.
rake-compiler and rake-compiler-dock may need an update to support 3.4.0 as well:
https://github.com/rake-compiler/rake-compiler-dock/releases/tag/v1.7.0
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.
This 1.2.1 version doesn't even support 3.3 so perhaps it's already outdated or not particularly relied upon for official builds, but probably good to update nonetheless.
d3ad3d0
to
20ce825
Compare
Not sure if it's being discussed elsewhere, but the test failures here seem to imply that the test docker image being used ( These
|
Is there any hope of getting this Ruby 3.4 support backported to a v3.x version of this gem? |
Is there a reason updating to 4.x is not a better solution? We don't usually make back ports to releases that old unless there is a security issue, and 3.x is on track to be dropped from support altogether at the end of Q1. See https://protobuf.dev/support/version-support/#ruby |
Thanks for sharing these observations, @chadlwilson I'm working on updates to the relevant Docker and Bazel infrastructure which are not all contained in this repository. |
I'm not the original one to ask in this thread, but it'd be nice for me too. I may personally be an unusual case, but I have had a persistent regression/change in behaviour in grpc Since there were breaking changes in protobuf ruby 4.26.x they require grpc Probably not the right place for the discussion, but it does feel a little bit hardcore to be dropping support within a year or so after the breaking changes that came for many language eocsystems with v26, especially when things like grpc only added v26 support several months later (Jun 29 2024). Arguing my own counterpoint, we're only talking about pre-compiled gems here, and I suppose the truly enthusiastic can compile from source, so perhaps not the end of the world from your perspective. |
I have a situation similar to @chadlwilson. Upgrading past protoc v26 has proven to be a bit problematic (but something we will attempt to do soon-ish). On the other hand only a couple of gems (google-protobuf and grpc) are currently blocking us from upgrading to Ruby 3.4. |
Is there an open issue on |
Can you open a new issue to provide details on what has been problematic? |
Unfortunately it reliably fails in a more complex functional regression test that I haven't had the time to replicate locally in a place easy to debug, to thus isolate and even rule out a problem on my side. In a GitHub search I cannot find other folks limiting grpc versions in their gemfiles/gemspecs so it makes me think it's exposing some earlier problem in our code or the test. Unfortunately it's a project I inherited maintenance of in my spare time, and so I probably dont have the depth required on hand without investing a lot of time. Again, none of that is your problem - definitely a skill/time issue on my part 😅 just illustrating some of the challenges here with the version compatibilities and the sheer rate of change in this area of the ruby ecosystem, esp with native extensions. |
20ce825
to
f974447
Compare
Limit gemspec changes to Ruby 3.4
…s no longer built in.
Downgrade 3.3 to continuous only
…uced in Ruby 3.4.
…s no longer built in.
Bump JRuby patch version and remove explict docker image.
462de97
to
3aa5ee0
Compare
#test-continuous