-
Notifications
You must be signed in to change notification settings - Fork 419
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
"Logger" warning with Ruby 3.3.5 #1061
Comments
I'll run the test suite to see if it repros that: Probably we need to add logger as a gem dependency then, from https://bugs.ruby-lang.org/issues/20309 |
Right I see it in https://github.com/eregon/concurrent-ruby/actions/runs/10705209923/job/29680039267#step:4:41
It doesn't fail concurrent-ruby's CI but we should still fix it of course. |
The README says:
So we have no choice but to break that goal then? concurrent-ruby doesn't seem to use much of Logger, but it uses at least currently concurrent-ruby/lib/concurrent-ruby/concurrent/concern/logging.rb Lines 37 to 39 in 044020f
So it might be feasible to remove the usage of Logger, except in |
I cannot reproduce the deadlock with the stdlib logger with 3.3.5. The original problem was noticed in this commit. And create_stdlib_logger/use_stdlib_logger have been re-added as deprecated in 959e764, 8 years ago. So it might be OK to remove it now. |
* To fix the Ruby 3.3.5 warnings: ruby-concurrency#1061 * concurrent-ruby only uses 7 constants from Logger, so just copy those over.
I came up with a PR to remove the dependency on logger: #1062 |
* To fix the Ruby 3.3.5 warnings: #1061 * concurrent-ruby only uses 7 constants from Logger, so just copy those over.
Ruby 3.3.5 is causing concurrent-ruby to trigger a warning: ruby-concurrency/concurrent-ruby#1061 Ignore the warning in the output from the sub-process tests.
@eregon thanks! can we get a new release for this? |
Running railties test suite with Ruby 3.3.5, I observer following failures due to warning which appears to come from concurrent-ruby:
This is likely caused by ruby/ruby@9ae91eb
The text was updated successfully, but these errors were encountered: