[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Any::Moose deprecation



Hi,

libany-moose-perl_0.27-1 recently entered sid, the only upstream change being

    add deprecation warning when this module is used

As a result, many (most?) of its reverse dependencies now warn on usage:

 % perl -we 'use Path::Dispatcher'             
 Any::Moose is deprecated. Please use Moo instead at /usr/share/perl5/Path/Dispatcher.pm line 2.

Our default autopkgtest checks [1] specifically test for no warnings on
usage, because those can be quite annoying on consumers of the module,
who aren't necessarily empowered to do anything about it. The common case
we want to catch is a packaged module containing newly deprecated syntax.

This change therefore triggered a dozen autopkgtest regressions [2]. More
may still be upcoming; I'm not sure what the re-test scheduling logic
on ci.debian.net currently is. Also, our autopkgtest coverage is "only"
at 81%, so there may be affected packages that aren't caught by these
checks. (It looks like libpath-dispatcher-perl is one of these.)

According to the upstream changelog, the deprecation has been declared
since 0.19 (2012-12-30). For most of the directly affected packages,
I see 2-3 year old upstream bug reports about the deprecation, so
presumably the modules are either hard to change or dead upstream.

I'm wondering what (if anything) we should do about this, mainly for
stretch at this point in the release cycle. Do we want to release with
these packages issuing warnings on usage, or should we look at either
fixing/squelching the warnings somehow or even removing the packages
from Debian?

[1] see <http://pkg-perl.alioth.debian.org/autopkgtest.html>

[2] currently including

 libanyevent-gearman-perl_0.10-2
 libconfig-jfdi-perl_0.065-1
 libnet-google-code-perl_0.19-2
 libnet-hiveminder-perl_0.08-1
 libpath-dispatcher-declarative-perl_0.03-1
 librdf-crypt-perl_0.002-2
 librdf-helper-properties-perl_0.22-1
 libterm-editoredit-perl_0.16-1
 libtest-cukes-perl_0.10-2
 libtext-clip-perl_0.14-1
 libwebservice-solr-perl_0.23-1
 libwww-nicovideo-download-perl_0.06-1
 
-- 
Niko Tyni   ntyni@debian.org


Reply to: