Skip to content
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 Racc to 1.8.1 #1031

Merged
merged 1 commit into from
Jul 30, 2024
Merged

* Bump Racc to 1.8.1 #1031

merged 1 commit into from
Jul 30, 2024

Conversation

koic
Copy link
Collaborator

@koic koic commented Jul 30, 2024

Racc 1.8.1 has been released and this PR bumps Racc to 1.8.1:
https://github.com/ruby/racc/releases/tag/v1.8.1

Racc 1.8.1 has been released and this PR bumps Racc to 1.8.1:
https://github.com/ruby/racc/releases/tag/v1.8.1
@iliabylich
Copy link
Collaborator

iliabylich commented Jul 30, 2024

There are several errors in Rubocop job, are they related to this change?

@iliabylich
Copy link
Collaborator

Oh, nvm, our development Gemfile is not even used there. Thanks!

@iliabylich iliabylich merged commit 5bc1032 into whitequark:master Jul 30, 2024
9 checks passed
@koic koic deleted the bump_racc_to_1_8_1 branch July 30, 2024 16:38
koic added a commit to koic/parser that referenced this pull request Aug 8, 2024
Follow up whitequark#1031 (comment) and reverts whitequark#1028.

This PR fixes the following error:

```console
$ ci/run_rubocop_specs
(snip)

==> Failed Examples

rspec  # RuboCop::Cop::Lint::PercentStringArray with binary encoded source adds an offense and corrects when tokens contain quotes
rspec  # RuboCop::Cop::Lint::PercentStringArray with binary encoded source accepts if tokens contain no quotes
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:3:6:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
lf and the default external encoding is US_ASCII can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:3:5:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
lf and there are many lines ending with CR+LF can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:2:6:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
crlf and the default external encoding is US_ASCII can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:2:5:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
crlf and there are many lines ending with LF can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/lint/percent_symbol_array_spec.rb[1:1:11:2]' # RuboCop::Cop::Lint::PercentSymbolArray detecting colons or
commas in a %i/%I string with binary encoded source accepts if tokens contain no quotes
rspec './spec/rubocop/cop/lint/percent_symbol_array_spec.rb[1:1:11:1]' # RuboCop::Cop::Lint::PercentSymbolArray detecting colons or
commas in a %i/%I string with binary encoded source registers an offense and corrects when tokens contain quotes
```

whitequark#1028 has an issue with the fix, causing RuboCop's CI to fail.

This PR prioritizes avoiding CI failures, so for now, it reverts the above change.

Improvements for handling warnings in Ruby 3.4.0dev and displaying clear results when whitequark/parser fails
in the RuboCop CI matrix will be addressed separately.
iliabylich pushed a commit that referenced this pull request Aug 8, 2024
Follow up #1031 (comment) and reverts #1028.

This PR fixes the following error:

```console
$ ci/run_rubocop_specs
(snip)

==> Failed Examples

rspec  # RuboCop::Cop::Lint::PercentStringArray with binary encoded source adds an offense and corrects when tokens contain quotes
rspec  # RuboCop::Cop::Lint::PercentStringArray with binary encoded source accepts if tokens contain no quotes
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:3:6:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
lf and the default external encoding is US_ASCII can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:3:5:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
lf and there are many lines ending with CR+LF can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:2:6:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
crlf and the default external encoding is US_ASCII can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/layout/end_of_line_spec.rb[1:2:5:2]' # RuboCop::Cop::Layout::EndOfLine when EnforcedStyle is
crlf and there are many lines ending with LF can inspect non-UTF-8 encoded source with proper encoding comment
rspec './spec/rubocop/cop/lint/percent_symbol_array_spec.rb[1:1:11:2]' # RuboCop::Cop::Lint::PercentSymbolArray detecting colons or
commas in a %i/%I string with binary encoded source accepts if tokens contain no quotes
rspec './spec/rubocop/cop/lint/percent_symbol_array_spec.rb[1:1:11:1]' # RuboCop::Cop::Lint::PercentSymbolArray detecting colons or
commas in a %i/%I string with binary encoded source registers an offense and corrects when tokens contain quotes
```

#1028 has an issue with the fix, causing RuboCop's CI to fail.

This PR prioritizes avoiding CI failures, so for now, it reverts the above change.

Improvements for handling warnings in Ruby 3.4.0dev and displaying clear results when whitequark/parser fails
in the RuboCop CI matrix will be addressed separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants