[Pkg-puppet-devel] Bug#955532: Deprecation warning in Ruby 2.7: URI.escape is obsolete

Stefan Bühler stefan.buehler at tik.uni-stuttgart.de
Wed Apr 22 08:37:32 BST 2020


Hi,

On Thu, 2 Apr 2020 01:02:46 -0400 =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= <pollo at debian.org> wrote:> Package: puppet
> Version: 5.5.19-1
> Severity: wishlist
> 
> Hi,
> 
> Running a fresh sid install with ruby 2.7, I get a few deprecation
> warnings, but mostly this one:
> 
> /usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete

there are also these warnings (getting quite a lot of them too):

/usr/lib/ruby/vendor_ruby/puppet/file_system/file_impl.rb:80: warning: Using the last argument as keyword parameters is deprecated
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE will become a normal global variable in Ruby 3.0
/usr/lib/ruby/vendor_ruby/puppet/indirector/request.rb:283: warning: URI.unescape is obsolete

They all get silenced by
https://salsa.debian.org/puppet-team/puppet/-/merge_requests/2/diffs - 
thanks for that.

cheers,
Stefan



More information about the Pkg-puppet-devel mailing list