ruby / ruby/weakref

Ruby 2.4: CI build failure with test-unit-ruby-core-1.0.15: unexpected keyword_rescue, expecting keyword_end (SyntaxError)

Open
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
20
Forks
8
Avg merge
9h 32m
Merged PRs (30d)
1

Description

This output was seen in a failing 2.4 CI run:

/opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require': /opt/hostedtoolcache/Ruby/2.4.10/x64/lib/ruby/gems/2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:390: syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing Ruby 2.4 CI run and inspect test-unit-ruby-core-1.0.15/lib/core_assertions.rb around line 390, where the SyntaxError is reported. Determine the smallest compatibility change or dependency adjustment supported by the project, then verify that the Ruby 2.4 CI job completes without this syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.