Use of dnsruby triggers a deprecation warning under Xenial

Bug #1592667 reported by Ben Coleman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dnsruby (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading to Xenial, an often-run cron job that uses Dnsruby started kicking out a warning:

/usr/lib/ruby/vendor_ruby/dnsruby.rb:413: warning: constant Dnsruby::TimeoutError is deprecated

That line is:

  class ResolvTimeout < TimeoutError

Evidently, under Ruby 2.3 (the default Ruby for Xenial), TimeoutError should be Timeout::Error.

I also note that this package appears to be sourced from the old RubyForge site. The project has been moved to https://github.com/alexdalitz/dnsruby. The latest release (1.59.2) has the above problem fixed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dnsruby (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.