Skip Menu |

This queue is for tickets about the Win32-Console-ANSI CPAN distribution.

Report information
The Basics
Id: 133673
Status: open
Priority: 0/
Queue: Win32-Console-ANSI

People
Owner: jl_morel [...] bribes.org
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

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



Subject: BUILD_REQUIRES
Win32::Pipe and Win32::Process only appear to be used for testing, and should therefore be moved to BUILD_REQUIRES from PREREQ_PM. Better yet, if they can be made into recommended dependencies, and the test which rely on them skipped if they are not available. http://blogs.perl.org/users/neilb/2017/04/specifying-the-type-of-your-cpan-dependencies.html Cheers!
On 2020-11-04 05:10:40, JPIERCE wrote: Show quoted text
> Win32::Pipe and Win32::Process only appear to be used for testing, and > should therefore be moved to BUILD_REQUIRES from PREREQ_PM. Better > yet, if they can be made into recommended dependencies, and the test > which rely on them skipped if they are not available. > > http://blogs.perl.org/users/neilb/2017/04/specifying-the-type-of-your- > cpan-dependencies.html
TEST_REQUIRES, not BUILD_REQUIRES, please -- build requirements are always installed, whereas test requirements are skipped via (e.g.) cpanm --no-test, and when examining prereq lists in carton.