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

Bug#580034: perl: module deprecations in 5.12.0



Package: perl
Version: 5.12.0-1
User: debian-perl@lists.debian.org
Usertags: perl-5.12-transition
X-Debbugs-Cc: debian-perl@lists.debian.org

We need to decide what to do with the module deprecations in 5.12.0.

 $ perl -w -e 'use Class::ISA'
 Class::ISA will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at -e, line 1.

The modules being deprecated from the core are (from perl5120delta.pod):

 Class::ISA
 Pod::Plainer
 Shell
 Switch

Clearly these need to be packaged separately sooner or later.

The options I see are

A. Patch away the warning and do nothing until the modules are actually
   removed in 5.14.0. At that point, add dependencies or recommendations
   for the removed modules.

B. Package the modules separately now, recommend the new packages and patch
   the warning to direct to apt instead of CPAN. Downgrade to suggestions
   after one release cycle.

C. Package the modules separately now, depend on the new packages and don't
   install the core versions in the binary packages at all. Downgrade to
   recommendations or even suggestions after one release cycle.

I'm leaning towards C but B seems also like a good choice.  As I see it:

A is just postponing the issue for no clear benefit.

B is closest to the upstream way but has the drawback of needing two
copies of the deprecated code.

C fixes this and offers a slightly smoother transition for people ignoring
recommendations.  However, like A it postpones any breakage until later,
possibly creating confusion because our deprecation schedule differs
from the upstream one.

Input would be welcome.

The separate packages would naturally fit with the pkg-perl group. I'd be glad
if somebody would like to help and package them.
-- 
Niko Tyni   ntyni@debian.org



Reply to: