Skip to content

Conversation

@herwinw
Copy link
Member

@herwinw herwinw commented Jan 20, 2025

No description provided.

xmlrpc.gemspec Outdated
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.3"

spec.add_dependency "logger"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?
xmlrpc doesn't use Logger explicitly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, it's a development dependency, so I moved it to the correct location.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that our tests also don't use Logger explicitly.

Could you share warnings you got?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ ruby -v && bundle exec rake test
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-linux]
test/test_webrick_server.rb:9: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add logger to your Gemfile or gemspec to silence this warning.
[...]

But I tried to run the test suite with that line removed and everything works, so I guess it's easier to just remove that require from the tests.

This gem is no longer a default gem in Ruby 3.5, but we don't use it.
@kou kou merged commit 072b938 into ruby:master Jan 21, 2025
27 checks passed
@kou
Copy link
Member

kou commented Jan 21, 2025

Thanks.

@herwinw herwinw deleted the ruby_3_4 branch January 21, 2025 06:54
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

Successfully merging this pull request may close these issues.

3 participants