-
Notifications
You must be signed in to change notification settings - Fork 119
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
Drop Ruby 2.5 support #383
Conversation
Because it has reached EOL for more than 1.5 years and it won't be supported by the next reline version either.
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.
Looks good!
RUBY_VERSION >= "2.5.0" ? err.full_message(highlight: false, order: :top) : err.message | ||
"#{t.inspect}:\n" + err.full_message(highlight: false, order: :top) | ||
}.join("\n---\n") |
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 realize that this isn't the fault of this PR, but the indentation of these lines look odd. Could you fix it?
Is there any reason why remove Ruby 2.5 without EOL status? I prefer to keep the old Ruby until we use new feature of the recent Ruby versions or hard to maintain CI status. |
I'm not sure what you mean. Ruby 2.5 was EOL as of March 2021. CI currently doesn't run with IRB master + reline master because tests fail, so the next release of reline will make tests fail. |
@peterzhu2118 I'm not against this change strongly. But I have a concern that you and @st0012 change reline and irb with the incompatible changes like the support version without maintainer who are @aycabta approval. I know @aycabta is inactive today. But we should wait for him first. Can you wait until RubyKaigi 2022? |
@hsbt To be clear, I didn't drop the 2.5 support on |
@hsbt I can understand your concern on the incompatible changes and I want to make it clear that
I also want to explain why I'm pushing the recent changes now:
So I hope you can understand that:
So back to your question:
Yes we can wait, including this PR, #380 and But IMO, a better option is to have a solution in |
@st0012 Thanks for clarification. I meant ruby/reline#456 (comment) as incompatible change.
Also, Thanks. You and @peterzhu2118 's work are great too. |
@hsbt I don't think that's an incompatible change because the original APIs haven't been released yet? The latest |
Ah, I see. |
@hsbt Since we have now clarified that:
Do we still have to wait for @aycabta? As I said, we can wait, but I also want to see if there's any alternatives than just waiting. For example, if you worry about us not knowing what not to change, I can reassure you that we are fully aware of the importance of compatibility as shown in the above comments. Or if you worry about @aycabta won't be able to keep up with the changes, I'll be happy to document changes happened after this Feb when he's back (including changes made by other contributors). I'm happy to have a call to walk through them as well. I think the best way to make great tools is to keep the development and feedback loop going. Because many user experience issues like this take time to surface and solutions also take time to experiment/polish. |
Yes. But It's IMO.
I say it's maintainer's convenience. And my mainly concerns are you and @peterzhu2118 changes irb and reline without @aycabta 's opinion in this year. |
Unfotunately, We couldn't get @aycabta 's opinion. I decide to coordinate the next irb release for Ruby 3.2 final release. |
Because Ruby 2.5 has reached EOL for more than 1.5 years and it won't be supported by the next
reline
version either.