-
Notifications
You must be signed in to change notification settings - Fork 321
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
Ruby 2.7.0 compatibility. #582
Comments
Perhaps clearer:
|
And perhaps even more clearly:
|
Yes, apparently it is. There's fix applied to master I will backport it to 4.2.X branch during this weekend. |
Any chance we could get a quick 4.2.1 release? |
http form data also needs update - I'll tackle that as soon as possible. |
Are you going to fix your code? What is the delay? |
I seriously doubt you're the one I have to report to on why I had no time to work on bringing compatibility with latest Ruby version. |
No, you do not report to me, but you should feel some responsibility to promptly fix your code when thousands of users use this gem in production code. |
@psisson AFAIK, http.rb didn't advertise compatibility with ruby 2.7, which is 13days old… Of course, your patches are welcome. |
@psisson I feel responsibility to keep this gem stable on what we support, see README - it is pretty obvious which versions of ruby this gem was tested and guaranteed to be working. Also not judging anybody, but I believe that those who upgrade production to use 16 days old Ruby version should visit a doctor to check of possible cerebral aneurysm that inhibits sane perception of reality. |
Let’s keep it cordial everyone.
This is an open source project run by volunteers, and like every OSS project those volunteers have limited time and resources to give to supporting the project. Please be respectful of this when commenting on issues. If you would like to help accelerate Ruby 2.7 support, I would suggest helping out in doing the relevant work. |
Many thanks to @janko for fixing ruby-2.7 compatibility in both this gem and http-form_data. Fixes are available in master and released as |
The version currently in use has an incompatibility with Ruby 2.7: httprb/http#582 The earliest version with a fix for this is 4.3.0 (as per noted here: elastic/apm-agent-ruby#665 (comment))
Previous versions may fail due to nil.to_s being frozen since 2.7 httprb/http#582 https://bugs.ruby-lang.org/issues/16150#note-61
It seems that after upgrade I am unable to cast an HTTP-rb response to a string:
The text was updated successfully, but these errors were encountered: