Closed boutil closed 2 years ago
Hum, not sure about Debian package, but I couldn't reproduce the errors with ruby 3.0.2 installed via rbenv on my mac.
Thanks for your quick answer. Could you share the versions of the dependencies you use to run the tests?
In my local, json
gem is v2.5.1
, and this is my Gemfile.lock
.
PATH
remote: .
specs:
json-jwt (1.13.0)
activesupport (>= 4.2)
aes_key_wrap
bindata
GEM
remote: http://rubygems.org/
specs:
activesupport (6.1.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
aes_key_wrap (1.1.0)
bindata (2.4.10)
concurrent-ruby (1.1.9)
diff-lcs (1.4.4)
docile (1.4.0)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
minitest (5.14.4)
rake (13.0.6)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.3)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
zeitwerk (2.5.1)
PLATFORMS
x86_64-darwin-21
DEPENDENCIES
json-jwt!
rake
rspec
rspec-its
simplecov
BUNDLED WITH
2.2.31
Hi. I just rebuilt the package on Debian Sid and the error is gone with activesupport
6.1.4.1. It is still reproducible with activesupport
6.0.3.7 and tzinfo 1.x in Debian Testing, which were not Ruby 3 compatible. I think this report can be closed.
Here is the relevant Gemfile.lock when the build fails:
PATH
remote: .
specs:
json-jwt (1.11.0)
activesupport (>= 4.2)
aes_key_wrap
bindata
GEM
remote: http://rubygems.org/
specs:
activesupport (6.0.3.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
aes_key_wrap (1.0.1)
bindata (2.4.8)
concurrent-ruby (1.1.6)
diff-lcs (1.4.4)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
minitest (5.13.0)
rake (13.0.3)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.2)
rspec-support (~> 3.9.3)
rspec-expectations (3.9.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.9.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.3)
thread_safe (0.3.6)
tzinfo (1.2.6)
thread_safe (~> 0.1)
zeitwerk (2.4.2)
PLATFORMS
ruby
DEPENDENCIES
json-jwt!
rake
rspec
rspec-its
BUNDLED WITH
2.1.4
Thank you @nov for the details and @dleidert for the additional investigation. I can confirm your conclusion. I am therefore closing this bug report, as the problem was not in this gem.
Hi,
when trying to rebuild the Debian package associated to this gem with ruby3.0, we get the following failures: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996303
I can reproduce these issues, with the HEAD of the repo. Everything is fine with ruby2.7, but the following 8 tests fail with ruby3.0.
Thanks!