-
Notifications
You must be signed in to change notification settings - Fork 198
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 3.3 support #904
+ Ruby 3.3 support #904
Conversation
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.
Thanks! I've left a few comments.
Also there are two missing pieces:
parse_helper.rb
,ALL_VERSIONS
constants should include3.3
parse_helper.rb
,parser_for_ruby_version
method needs to handle3.3
Thanks for the extremely quick feedback, @iliabylich. I've applied the suggested changes, except the one about the |
Thanks! |
👋 @iliabylich can I ask when this change is going to be scheduled to be released as a patch version for the gem? 🙇 |
I don't plan to release until Ruby 3.2.1 (i.e. with release of the next Ruby version) or in case of a bugfix (that would be Why do you need this change? |
We have a running branch every week to test Ruby and the sha that we are targeting is 9726736006b3f74635fd8af05814fe0908e2cf84 which contains this change for the versions It looks like there are other gems like |
Parser gem has been started development for Ruby 3.3 (edge Ruby). whitequark/parser#904 And this PR update to require Parser 3.2.1.0 or higher, which contains `Parser::Ruby33`. https://github.com/whitequark/parser/blob/master/CHANGELOG.md#v3210-2023-02-09
Parser gem has been started development for Ruby 3.3 (edge Ruby). whitequark/parser#904 And this PR update to require Parser 3.2.1.0 or higher, which contains `Parser::Ruby33`. https://github.com/whitequark/parser/blob/master/CHANGELOG.md#v3210-2023-02-09
I've basically mimicked #841.
lib/parser/ruby32.y
tolib/parser/ruby33.y
, editing the version number on the first line. Since Ruby 3.2 was released a couple of weeks ago, the grammars are probably identical for now (?).lib/parser/version.rb
, as I suppose this will be part of the actual release process. Also, since I do not know when the version will be released, I haven't added a timestamp in the changelog.