Skip to content

Remove Try::Tiny dependency

Marek Szuba requested to merge feature/no_try_tiny into master

Created by: tgrego

Description

The creation of ensembl VM 99 exposed some issues with installing Try::Tiny with cpanm on perl 5.14.4 using plenv. Try::Tiny has been already in use for a few releases with no issues, but added to the cpan file this release. Using perl 5.26.1 fixes the problem, but given that the Try::Tiny dependency is used in only one module and is easily replaced with alternative methods it would perhaps be good to drop it.

Use case

See ENSCORESW-3303

Benefits

One less external perl module dependency. VM build can happen in perl 5.14

Possible Drawbacks

Discourages future usage of Try::Tiny

Testing

Have you added/modified unit tests to test the changes? no

If so, do the tests pass/fail?

Have you run the entire test suite and no regression was detected? yes

Merge request reports