Bug#580034: perl: module deprecations in 5.12.0
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):
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 firstname.lastname@example.org