-
Notifications
You must be signed in to change notification settings - Fork 201
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
Bump Ruby 3.4.1 #1056
Bump Ruby 3.4.1 #1056
Comments
Yes, that's expected, see #1046. |
Thanks for the PR @iliabylich and kudos for the great work 🙏 |
#1057 has been reverted, I've merged it by accident. Like the linked issue above says I'm not backporting changed anymore (and I can always recommend you to switch to |
I see. Though, it's annoying that all Rubocop users will see the deprecation warning
for each boot. |
RuboCop only ever loads a specific parser version, that doesn't emit such a warning ( For example, I fixed the same warning in |
There should be a warning for |
Yes, I agree it's ok the way it is now, considering the state of the project. Only some fringe syntax changes and nothing where I think the average user would notice. It's more along the lines of those known incompatibilities in the readme. Basically no one will run 3.4.0 since 3.4.1 was released almost immediately after so that small mistake is even smaller because of that. |
We are in ruby 3.4.1 and we are seeing the warnings too with parser (3.3.7.0)
.ruby-version
|
As above. In my case this is caused by |
I had the warning due to i18n-tasks gem also, @artemave i made a PR to suppress the warning meanwhile: |
I am wondering if the easiest fix will be: when /^3\.4\./
current_version = '3.4.0'
current_version = '3.4.1' <<<
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby34', current_version
end Because between ruby 3.4.0 and 3.4.1 there was only few hours apart and it will avoid many warnings :) |
The parser gem is not able to correctly parse any 3.4 version, and likely never will. #1046 The fact that there is a warning is correct even though it's message is not entirely accurate. It recognizes 3.3 syntax. |
I don't agree it is ok the way it is now. Per my understanding it should say "parser doesn't support Ruby 3.4", not "it is using wrong 3.4.x version". |
@koic @Earlopain Will rubocop break if we change |
That should be totally fine. It doesn't use |
Thanks, I'll fix it in the next release |
It appears that this has already been confirmed. I have confirmed it has passed. Thank you for taking care of this. |
I've released |
@iliabylich I'm still not sure the warning explains properly current situation.
Would it make sense to change warning and make it clear parser doesn't support 3.4 at all. Or at least update the readme compatibility section? |
Labeling a grammar with What would you like to be in this warning? Feel free to send a PR. |
Is the current situation different to previous ones, since there is no plan to support 3.4 and newer and prism is recommended? At least, that's my understanding reading issues around this repo. |
The text was updated successfully, but these errors were encountered: