[Bug 1613504] New: Should WWW::Mechanize require 'Test::Builder'?
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1613504
Bug ID: 1613504
Summary: Should WWW::Mechanize require 'Test::Builder'?
Product: Fedora
Version: 27
Component: perl-WWW-Mechanize
Assignee: emmanuel(a)seyman.fr
Reporter: rc040203(a)freenet.de
QA Contact: extras-qa(a)fedoraproject.org
CC: emmanuel(a)seyman.fr, jose.p.oliveira.oss(a)gmail.com,
ktdreyer(a)ktdreyer.com,
perl-devel(a)lists.fedoraproject.org,
tremble(a)tremble.org.uk
Description of problem:
WWW::Mechanize has a hidden dep on Test::Builder:
...
WWW-Mechanize-1.88/lib/WWW/Mechanize.pm: require HTML::TreeBuilder;
WWW-Mechanize-1.88/lib/WWW/Mechanize.pm: my $tree =
HTML::TreeBuilder->new();
WWW-Mechanize-1.88/lib/WWW/Mechanize.pm:stripped. This feature requires
I<HTML::TreeBuilder> to be installed,
WWW-Mechanize-1.88/README.md: stripped. This feature requires
_HTML::TreeBuilder_ to be installed,
...
This forces some users of WWW::Mechanize (e.g. perl-Test-WWW-Mechanize)
to explicitly BR: perl(HTML::TreeBuilder), even though these packages do not
directly require HTML::TreeBuilder.
Version-Release number of selected component (if applicable):
All versions of perl-WWW-Mechanize in all active Fedoras.
Additional info:
I am not sure, what to do about it, but I rather lean for WWW::Mechanize to "R:
HTML::Builder", because this avoids having to add deps for non-obvious reason.
--
You are receiving this mail because:
You are on the CC list for the bug.
5 years, 8 months