This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id:
121230
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Jeff.Fearn [...] gmail.com
Requestors:
SREZIC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Undeclared dependency Test::Fatal (5.04)
The test suite fails if Test::Fatal is not installed: ... Can't locate Test/Fatal.pm in @INC (you may need to install the Test::Fatal module) (@INC contains: ... .) at t/construct_tree.t line 9. BEGIN failed--compilation aborted at t/construct_tree.t line 9. # Looks like your test exited with 2 before it could output anything. t/construct_tree.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 75/75 subtests ...
Thanks for the report. https://github.com/jfearn/HTML-Tree/commit/dc5585bd81dee2240c3a58d92e1dbcc04e672d44 Now to wait rand() to see if there are any other things requiring patching.

Looks like in the migration from DZil, you overlooked the dependencies.

 

For instance, there's a new dependency on Test::Exception, even though none of the code uses it.

 

Additionally, LWP is now an unconditional dependency instead of a recommendation, but HTML::FormatText is no longer present in the metadata, even though its present at runtime.

 

And given Module::Build supports both "Recommends" and "Test_requires", I consider It a bit of a regression that the recommendations are removed, _and_ that test dependencies are now considered "build" dependencies, as the latter now means test dependencies are *unconditionally* required even for people using cpanm --notest


-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )
 

Ugh. this should be fixed in 5.05, I just can't update the RT status yet because my perm haven't propagated yet.

-- 
- CPAN kentnl@cpan.org
- Gentoo Perl Maintainer kentnl@gentoo.org ( perl@gentoo.org )


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.