Re: Dependency List Approval / Problems for ExtUtils::Manifest

[email protected] (David Golden)
Newsgroups perl.cpan.workers
Message-ID <CAOeq1c9roMty0=PGZ8sccfO8Aot5_hDo1svQiqUbm3CKaZb+oA@mail.gmail.com>
On Mon, Jun 22, 2015 at 2:49 PM, Kent Fredric <[email protected]> wrote:

> TL;DR^WABSTRACT:
> - Is it safe to bundle Test::TempDir::Tiny or similar in EUMs t/tlib?
>

Stuff like this still pops up:
https://github.com/dagolden/Test-TempDir-Tiny/pull/6

I wouldn't consider it bulletproof, but it's probably better to start with
TTDT and improve it as issues are discovered than to roll-your-own.  The
race condition code is annoying but I think will 'fail safe" if the race
can't be won.

Of course, I wrote it, so getting the opinions of others is probably a good
idea.

TTDT is all core-deps, but some of them might require XS ( Not sure
> what Cwd requires ).
>
>
I'm not sure what your concern is since they are all core and there is no
version requirement for the XS bits.  The only versioned dependency is
File::Path 2.01 (for the "keep_root" option) and that only needs to be
upgraded on 5.8 perls.  TTDT tests well back to 5.8.1:
http://matrix.cpantesters.org/?dist=Test-TempDir-Tiny+0.004.

So... XS concern is an XY problem?  :-)

David

-- 
David Golden <[email protected]> Twitter/IRC: @xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.