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

Tests fail with Ruby 3.0 #100

Open
dleidert opened this issue Nov 27, 2021 · 0 comments
Open

Tests fail with Ruby 3.0 #100

dleidert opened this issue Nov 27, 2021 · 0 comments

Comments

@dleidert
Copy link

Hello,

as part of the Debian Ruby team, we are currently building and testing all gems with Ruby 3.0. In this case your gem fails. Many test failures have a similar backtrace like this:

     Failure/Error: super()

     ArgumentError:
       wrong number of arguments (given 0, expected 2)
     # ./lib/safe_yaml/safe_to_ruby_visitor.rb:14:in `initialize'
     # ./lib/safe_yaml/psych_resolver.rb:25:in `new'
     # ./lib/safe_yaml/psych_resolver.rb:25:in `native_resolve'
     # ./lib/safe_yaml/resolver.rb:12:in `resolve_node'
     # ./lib/safe_yaml/resolver.rb:55:in `block in resolve_seq'
     # ./lib/safe_yaml/resolver.rb:55:in `each'
     # ./lib/safe_yaml/resolver.rb:55:in `inject'
     # ./lib/safe_yaml/resolver.rb:55:in `resolve_seq'
     # ./lib/safe_yaml/psych_resolver.rb:17:in `resolve_root'
     # ./lib/safe_yaml/resolver.rb:16:in `resolve_node'
     # ./lib/safe_yaml/load.rb:151:in `load'
     # ./lib/safe_yaml.rb:29:in `safe_load'
     # ./spec/safe_yaml_spec.rb:319:in `block (4 levels) in <top (required)>'

There seems to be a possible explanation here: paolobrasolin/jekyll-antex#16.

The full build log is available here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996380#5

thesamesam added a commit to thesamesam/gentoo that referenced this issue Mar 25, 2023
gentoo-bot pushed a commit to gentoo/gentoo that referenced this issue Mar 25, 2023
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

No branches or pull requests

1 participant