Opened 7 years ago
Closed 6 years ago
#11148 closed enhancement (fixed)
HTML::Parser - runtime requirement is HTTP::Message not full libwww-perl.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 8.4 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
We say HTML-Parser has a dependency on libwww-perl - (circular; howevever, it can be installed after HTML::Parser as it is only a run-time requirement for the included HTML::HeadParser module)
But looking at HTML::HeadParser.pm in /usr/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/HTML/HeadParser.pm the only thing it appears to use is HTML::Entities which comes from HTML::Parser itself.
Found a comment from 2012 at https://github.com/libwww-perl/http-message/issues/3, "HTTP::Headers is used by HTML::HeadParser".
Investigating.
Change History (4)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | HTML::Parser - possible bogus runtime dependency. → HTML::Parser - runtime requirement is HTTP::Message not full libwww-perl. |
comment:2 by , 7 years ago
Confirmed (by reading the Changes files) that HTTP::Message, as well as HTTP::Date and LWP::MediaTypes were all split out into separate distributions after libwww-perl-5.837.
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Completed in trunk at r20713.
HTTP::Headers is indeed used, by a 'require' in HeadParser.pm And that comes from HTTP::Message (perhaps in the old days before lwp-6 when lwp was a lot smaller it did indeed come from that).
Wil change the HTML::Parser runtime dep to HTTP::Message.