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: emman...@seyman.fr
          Reporter: rc040...@freenet.de
        QA Contact: extras...@fedoraproject.org
                CC: emman...@seyman.fr, jose.p.oliveira....@gmail.com,
                    ktdre...@ktdreyer.com,
                    perl-devel@lists.fedoraproject.org,
                    trem...@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.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org/message/AF3OD6NIZOU6JC5CPLABS7ZMWSZL4ZJS/

Reply via email to