Skip Menu |

This queue is for tickets about the DataLoader CPAN distribution.

Report information
The Basics
Id: 130124
Status: resolved
Priority: 0/
Queue: DataLoader

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

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



Subject: Undeclared dependency Mojo::Promise
The test suite fails if Mojo::Promise is not installed: ... Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/opt/perl-5.22.3D/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use DataLoader;' # at t/00-load.t line 8. # Tried to use 'DataLoader'. # Error: Can't locate Mojo/Promise.pm in @INC (you may need to install the Mojo::Promise module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2019072103/DataLoader-0.01-0/blib/lib/DataLoader.pm line 166. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019072103/DataLoader-0.01-0/blib/lib/DataLoader.pm line 166. # Compilation failed in require at t/00-load.t line 8. # BEGIN failed--compilation aborted at t/00-load.t line 8. ... According to https://metacpan.org/changes/distribution/Mojolicious#L495 Mojo::Promise was added in Mojolicious 7.53. So probably you have either to increase the minimum Mojolicious version in the prereq specifications, or add Mojo::Promise as a prerequisite.
On Sun Jul 21 01:40:26 2019, SREZIC wrote: Show quoted text
> The test suite fails if Mojo::Promise is not installed:
Thank you. I also noticed that Mojolicious 8.0 is required for Mojo::Promise->resolve and Mojo::Promise->reject methods. So I will update the Mojolicious package dependencies and publish as 0.02. Rich
On 2019-07-29 15:07:44, RJH wrote: Show quoted text
> On Sun Jul 21 01:40:26 2019, SREZIC wrote:
> > The test suite fails if Mojo::Promise is not installed:
> > Thank you. I also noticed that Mojolicious 8.0 is required for > Mojo::Promise->resolve and Mojo::Promise->reject methods. So I will > update the Mojolicious package dependencies and publish as 0.02.
This problem indeed does not happen anymore with 0.02. Resolving.