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

Louis-Philippe Véronneau pollo at debian.org
Thu Apr 2 06:02:46 BST 2020


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

Puppet still works, but that line is repeated at least 100 times and
it's pretty annoying. It makes understanding anything that is happening
very hard, as everything just gets buried...

I had a look at the puppet 6.4 code [1] and this hasn't been fixed.
There is a ticket upstream though:

https://tickets.puppetlabs.com/browse/PUP-10391

It would be great if there was a way to silence those warnings? I don't
think it's worth patching it properly in Debian (as it seems to involve
quite a bit of work).

Cheers,

[1]
https://github.com/puppetlabs/puppet/blob/605187329a42e200d011cbccfd9e79eb4de02145/lib/puppet/util.rb#L463

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo at debian.org / veronneau.org
  ⠈⠳⣄

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200402/e49954f4/attachment.sig>


More information about the Pkg-puppet-devel mailing list