On Mon, Jun 18, 2007 at 12:53:39PM -0400, Christopher H. Laco wrote:
> I upgraded my server with DBIC 0.08 and some code last night in hopes of
> some updated coverage reports in the morning, only to get heaps of these
> these instead:
>
> > DBIx::Class::Schema::deploy(): Can't deploy without SQL::Translator 0.08:
> > 'SQL::Translator version 0.08 required--this is only version 0.07 at (eval
> > 193)[/usr/local/lib/perl5/site_perl/5.8.6/DBIx/Class/Storage/DBI.pm:1459]
> > line 2.
> > BEGIN failed--compilation aborted at (eval
> > 193)[/usr/local/lib/perl5/site_perl/5.8.6/DBIx/Class/Storage/DBI.pm:1459]
> > line 2.
> > ' at t/lib/Handel/Test.pm line 74
>
> Can/should we make this in as an optional prereq in Makefile.PL so it's
> a little more obvious up front there is a version requirement going on
> behind the scenes?
I hate optional prereqs due to bitter experience.
The better approach would be to find a way to separate out all the
SQLT-requiring functionality - but interestingly, deploy() -doesn't- require
SQLT if you use create_ddl_dir so I'm not really sure how to deal with it.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/