Dne 15. 12. 23 v 17:57 Vít Ondruch napsal(a):
There is one remaining issue:
~~~
* Test file: test/version_test.rb
/usr/share/gems/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:
warning: drb/unix is found in drb, which will no longer be part of the
default gems since Ruby 3.4.0. Add drb to your Gemfile or gemspec.
Also contact author of zeitwerk-2.6.6 to add drb into its gemspec.
Run options: --seed 46867
# Running:
..
Finished in 0.000818s, 2444.6226 runs/s, 3666.9340 assertions/s.
2 runs, 3 assertions, 0 failures, 0 errors, 0 skips
~~~
Yes, the warning. I am testing with modified rubygem-activesupport
[1], which is adding the dependency :
~~~
$ rpm -qR rubygem-activesupport
(rubygem(concurrent-ruby) >= 1.0 with rubygem(concurrent-ruby) < 2
with rubygem(concurrent-ruby) >= 1.0.2)
(rubygem(i18n) >= 1.6 with rubygem(i18n) < 2)
(rubygem(tzinfo) >= 2.0 with rubygem(tzinfo) < 3)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rpmlib(RichDependencies) <= 4.12.0-1
ruby(rubygems)
rubygem(base64)
rubygem(bigdecimal)
rubygem(bigdecimal)
rubygem(drb)
rubygem(json)
rubygem(minitest) >= 5.1
rubygem(mutex_m)
tzdata
$ cat /usr/share/gems/specifications/activesupport-7.0.8.gemspec |
grep drb
s.add_runtime_dependency(%q<drb>.freeze, [">= 0".freeze])
~~~
And that should be enough. But it is not. Strange ...
Vít
This seems to be fixed now. Likely by PRs referred here:
https://bugs.ruby-lang.org/issues/20065#change-105723
V.