Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla-Util-EmulatePhase CPAN distribution.

Report information
The Basics
Id: 73645
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Util-EmulatePhase

People
Owner: Nobody in particular
Requestors: MITHALDU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



The rundeps checked in the test to be Version::Requirements can now also be CPAN::Meta::Requirements.
Here's the full output of the test: root@apoc-x300:~/.cpanplus/5.12.4/build/Dist-Zilla-Util-EmulatePhase-0.01025800# ./Build test t/00-compile.t ................ ok t/000-report-versions-tiny.t .. # # # perl: v5.12.4 (wanted any version) on linux from /usr/bin/perl # # Carp => 1.17 (want any version) # Dist::Zilla::PluginBundle::Author::KENTNL => module not found. (want 1.0.0) # Dist::Zilla::PluginBundle::Author::KENTNL::Lite => module not found. (want 0.01009803) # Dist::Zilla::Prereqs => 4.300006 (want any version) # Dist::Zilla::Util::Test::KENTNL => 0.01015821 (want 0.01000510) # English => 1.04 (want any version) # File::Find => 1.15 (want any version) # File::Temp => 0.22 (want any version) # Hash::Merge::Simple => 0.051 (want any version) # Module::Build => 0.38 (want 0.3601) # Moose => 2.0401 (want any version) # Moose::Autobox => 0.11 (want any version) # Scalar::Util => 1.22 (want any version) # Sub::Exporter => 0.982 (want any version) # Test::Fatal => 0.008 (want 0.003) # Test::More => 0.98 (want 0.96) # Try::Tiny => 0.11 (want any version) # namespace::autoclean => 0.13 (want any version) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve you problem. # t/000-report-versions-tiny.t .. ok t/01-basic.t .................. 1/? # Failed test 'The object isa Version::Requirements' # at t/01-basic.t line 204. # The object isn't a 'Version::Requirements' it's a 'CPAN::Meta::Requirements' # Looks like you failed 1 test of 9. # Failed test 'get_prereqs tests' # at t/01-basic.t line 208. # Looks like you failed 1 test of 5. t/01-basic.t .................. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests t/02-makemaker-sharedir.t ..... ok t/author-critic.t ............. skipped: these tests are for testing by the author t/release-cpan-changes.t ...... skipped: these tests are for release candidate testing t/release-distmeta.t .......... skipped: these tests are for release candidate testing t/release-eol.t ............... skipped: these tests are for release candidate testing t/release-kwalitee.t .......... skipped: these tests are for release candidate testing t/release-pod-coverage.t ...... skipped: these tests are for release candidate testing t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing Test Summary Report ------------------- t/01-basic.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=11, Tests=10, 8 wallclock secs ( 0.08 usr 0.03 sys + 6.52 cusr 0.32 csys = 6.95 CPU) Result: FAIL Failed 1/11 test programs. 1/10 subtests failed. root@apoc-x300:~/.cpanplus/5.12.4/build/Dist-Zilla-Util-EmulatePhase-0.01025800# and here's the prove -vb output of that particular test ( t/01-basic.t ) root@apoc-x300:~/.cpanplus/5.12.4/build/Dist-Zilla-Util-EmulatePhase-0.01025800# prove -vb t/01-basic.t t/01-basic.t .. ok 1 - ref based de-duper works (x1) ok 2 - ref based de-duper works (x2) ok 3 - ref based de-duper works (x3) 1..3 ok 1 - deduplicate tests ok 1 - Role Expansion works ok 2 - Plugin Expansion works 1..2 ok 2 - expand_modname tests ok 1 - Fake dist setup works ok 1 - get_plugins does not fail ok 2 - Only 1 plugin found ok 3 - The object isa Dist::Zilla::Plugin::Prereqs 1..3 ok 2 - with tests ok 1 - get_plugins does not fail ok 2 - Filtered -does stuff goes away 1..2 ok 3 - skip_with tests ok 1 - get_plugins does not fail ok 2 - Filtered -does stuff goes away 1..2 ok 4 - straight skip_isa tests 1..4 ok 3 - get_plugins test ok 1 - Fake dist setup works ok 2 - get_plugins does not fail ok 3 - get_metadata does not fail ok 4 - metadata is a hash ok 5 - metadata.resources is a hash ok 6 - resources.homepage is scalar ok 7 - resources.homepage is input value 1..7 ok 4 - get_metadata tests ok 1 - Fake dist setup works ok 2 - get_plugins does not fail ok 3 - get_prereqs does not fail ok 4 - The object isa Dist::Zilla::Prereqs ok 5 - requirements_for runs not ok 6 - The object isa Version::Requirements ok 7 - The reference isa HASH ok 8 - foopackage dep exists ok 9 - foopackage depend is on v 0 1..9 not ok 5 - get_prereqs tests 1..5 # Failed test 'The object isa Version::Requirements' # at t/01-basic.t line 204. # The object isn't a 'Version::Requirements' it's a 'CPAN::Meta::Requirements' # Looks like you failed 1 test of 9. # Failed test 'get_prereqs tests' # at t/01-basic.t line 208. # Looks like you failed 1 test of 5. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Test Summary Report ------------------- t/01-basic.t (Wstat: 256 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 1 Files=1, Tests=5, 1 wallclock secs ( 0.05 usr 0.00 sys + 1.69 cusr 0.06 csys = 1.80 CPU) Result: FAIL root@apoc-x300:~/.cpanplus/5.12.4/build/Dist-Zilla-Util-EmulatePhase-0.01025800# -- ~Apocalypse
Subject: Version::Requirements now deprecated
On Sat Dec 31 22:15:37 2011, MITHALDU wrote: Show quoted text
> The rundeps checked in the test to be Version::Requirements can now also > be CPAN::Meta::Requirements.
Revision history for Version-Requirements 0.101021 2011-12-30 15:39:56 America/New_York DEPRECATED DEPRECATED DEPRECATED DEPRECATED Version::Requirements is now DEPRECATED Use CPAN::Meta::Requirements, which is a drop-in replacement. -- ~Apocalypse
Subject: Thanks, resolved.

Thanks, should be heading out to a CPAN near you soon.

https://metacpan.org/source/KENTNL/Dist-Zilla-Util-EmulatePhase-0.01025801/Changes#L3