Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-DBIx-Class for openSUSE:Factory checked in at 2022-06-02 21:54:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-DBIx-Class (Old) and /work/SRC/openSUSE:Factory/.perl-DBIx-Class.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DBIx-Class" Thu Jun 2 21:54:43 2022 rev:16 rq:980490 version:0.082843 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-DBIx-Class/perl-DBIx-Class.changes 2020-07-21 15:49:17.000213546 +0200 +++ /work/SRC/openSUSE:Factory/.perl-DBIx-Class.new.1548/perl-DBIx-Class.changes 2022-06-02 21:54:59.816428742 +0200 @@ -1,0 +2,14 @@ +Wed May 18 03:06:27 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.082843 + see /usr/share/doc/packages/perl-DBIx-Class/Changes + + 0.082843 2022-05-17 10:50 (UTC) + * Fixes + - Adjust tests to account for DBD::SQLite's column_info() no longer + being case-preserving in recent versions + - Fix t/storage/replicated.t relying on no-longer-available module + - Adjust t/53lean_startup.t to work around spurious changes in + Perl5 core (GH#143) + +------------------------------------------------------------------- Old: ---- DBIx-Class-0.082842.tar.gz New: ---- DBIx-Class-0.082843.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-DBIx-Class.spec ++++++ --- /var/tmp/diff_new_pack.lDZ74L/_old 2022-06-02 21:55:00.348429420 +0200 +++ /var/tmp/diff_new_pack.lDZ74L/_new 2022-06-02 21:55:00.348429420 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-DBIx-Class # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,16 @@ # +%define cpan_name DBIx-Class Name: perl-DBIx-Class -Version: 0.082842 +Version: 0.082843 Release: 0 -%define cpan_name DBIx-Class -Summary: Extensible and flexible object <-> relational mapper License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl +Summary: Extensible and flexible object <-> relational mapper URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor::Grouped) >= 0.10012 @@ -39,6 +37,7 @@ BuildRequires: perl(DBI) >= 1.57 BuildRequires: perl(Data::Dumper::Concise) >= 2.020 BuildRequires: perl(Devel::GlobalDestruction) >= 0.09 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(File::Temp) >= 0.22 BuildRequires: perl(Hash::Merge) >= 0.12 BuildRequires: perl(MRO::Compat) >= 0.12 @@ -115,7 +114,7 @@ back to trunk for a major release. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 # MANUAL BEGIN sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse inc::Module::Install/' Makefile.PL @@ -123,7 +122,7 @@ %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -134,7 +133,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc AUTHORS Changes examples README %license LICENSE ++++++ DBIx-Class-0.082842.tar.gz -> DBIx-Class-0.082843.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/AUTHORS new/DBIx-Class-0.082843/AUTHORS --- old/DBIx-Class-0.082842/AUTHORS 2020-06-16 22:13:05.000000000 +0200 +++ new/DBIx-Class-0.082843/AUTHORS 2022-05-17 12:47:17.000000000 +0200 @@ -111,6 +111,7 @@ kkane: Kevin L. Kane <kevin.k...@gmail.com> konobi: Scott McWhirter <kon...@cpan.org> lejeunerenard: Sean Zellmer <s...@lejeunerenard.com> +leont: Leon Timmermans <faw...@gmail.com> littlesavage: Alexey Illarionov <littlesav...@orionet.ru> lukes: Luke Saunders <luke.saund...@gmail.com> marcus: Marcus Ramberg <mramb...@cpan.org> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/Changes new/DBIx-Class-0.082843/Changes --- old/DBIx-Class-0.082842/Changes 2020-06-16 22:05:29.000000000 +0200 +++ new/DBIx-Class-0.082843/Changes 2022-05-17 12:45:41.000000000 +0200 @@ -1,5 +1,13 @@ Revision history for DBIx::Class +0.082843 2022-05-17 10:50 (UTC) + * Fixes + - Adjust tests to account for DBD::SQLite's column_info() no longer + being case-preserving in recent versions + - Fix t/storage/replicated.t relying on no-longer-available module + - Adjust t/53lean_startup.t to work around spurious changes in + Perl5 core (GH#143) + 0.082842 2020-06-16 20:10 (UTC) * New Features - An on_connect rebase_sqlmaker call allowing experimentation with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/LICENSE new/DBIx-Class-0.082843/LICENSE --- old/DBIx-Class-0.082842/LICENSE 2020-06-16 22:13:05.000000000 +0200 +++ new/DBIx-Class-0.082843/LICENSE 2022-05-17 12:47:17.000000000 +0200 @@ -1,4 +1,4 @@ -DBIx::Class is Copyright (c) 2005-2020 by mst, castaway, ribasushi, and others. +DBIx::Class is Copyright (c) 2005-2022 by mst, castaway, ribasushi, and others. See AUTHORS and LICENSE included with this distribution. All rights reserved. This is free software; you can redistribute it and/or modify it under the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/META.yml new/DBIx-Class-0.082843/META.yml --- old/DBIx-Class-0.082842/META.yml 2020-06-16 22:08:27.000000000 +0200 +++ new/DBIx-Class-0.082843/META.yml 2022-05-17 12:46:31.000000000 +0200 @@ -62,7 +62,7 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=DBIx-Class license: http://dev.perl.org/licenses/ repository: https://github.com/Perl5/DBIx-Class -version: 0.082842 +version: 0.082843 x_authority: cpan:RIBASUSHI x_contributors: - 'abraxxa: Alexander Hartmaier <abra...@cpan.org>' @@ -167,6 +167,7 @@ - 'kkane: Kevin L. Kane <kevin.k...@gmail.com>' - 'konobi: Scott McWhirter <kon...@cpan.org>' - 'lejeunerenard: Sean Zellmer <s...@lejeunerenard.com>' + - 'leont: Leon Timmermans <faw...@gmail.com>' - 'littlesavage: Alexey Illarionov <littlesav...@orionet.ru>' - 'lukes: Luke Saunders <luke.saund...@gmail.com>' - 'marcus: Marcus Ramberg <mramb...@cpan.org>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/README new/DBIx-Class-0.082843/README --- old/DBIx-Class-0.082842/README 2020-06-16 22:12:05.000000000 +0200 +++ new/DBIx-Class-0.082843/README 2022-05-17 12:46:34.000000000 +0200 @@ -1,4 +1,4 @@ -DBIx::Class is Copyright (c) 2005-2020 by mst, castaway, ribasushi, and others. +DBIx::Class is Copyright (c) 2005-2022 by mst, castaway, ribasushi, and others. See AUTHORS and LICENSE included with this distribution. All rights reserved. NAME @@ -191,7 +191,7 @@ questions and suggestions have been shown to catalyze monumental improvements in consistency, accuracy and performance. - List of the awesome contributors who made DBIC v0.082842 possible + List of the awesome contributors who made DBIC v0.082843 possible abraxxa: Alexander Hartmaier <abra...@cpan.org> @@ -397,6 +397,8 @@ lejeunerenard: Sean Zellmer <s...@lejeunerenard.com> + leont: Leon Timmermans <faw...@gmail.com> + littlesavage: Alexey Illarionov <littlesav...@orionet.ru> lukes: Luke Saunders <luke.saund...@gmail.com> Binary files old/DBIx-Class-0.082842/examples/Schema/db/example.db and new/DBIx-Class-0.082843/examples/Schema/db/example.db differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/lib/DBIx/Class/CDBICompat/GetSet.pm new/DBIx-Class-0.082843/lib/DBIx/Class/CDBICompat/GetSet.pm --- old/DBIx-Class-0.082842/lib/DBIx/Class/CDBICompat/GetSet.pm 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/lib/DBIx/Class/CDBICompat/GetSet.pm 2022-05-15 10:07:13.000000000 +0200 @@ -4,8 +4,6 @@ use strict; use warnings; -#use base qw/Class::Accessor/; - sub get { my ($self, @cols) = @_; if (@cols > 1) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/lib/DBIx/Class/Optional/Dependencies.pod new/DBIx-Class-0.082843/lib/DBIx/Class/Optional/Dependencies.pod --- old/DBIx-Class-0.082842/lib/DBIx/Class/Optional/Dependencies.pod 2020-06-16 22:12:02.000000000 +0200 +++ new/DBIx-Class-0.082843/lib/DBIx/Class/Optional/Dependencies.pod 2022-05-17 12:46:32.000000000 +0200 @@ -18,7 +18,7 @@ ... - configure_requires 'DBIx::Class' => '0.082842'; + configure_requires 'DBIx::Class' => '0.082843'; require DBIx::Class::Optional::Dependencies; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/lib/DBIx/Class.pm new/DBIx-Class-0.082843/lib/DBIx/Class.pm --- old/DBIx-Class-0.082842/lib/DBIx/Class.pm 2020-06-16 21:57:02.000000000 +0200 +++ new/DBIx-Class-0.082843/lib/DBIx/Class.pm 2022-05-17 12:45:54.000000000 +0200 @@ -11,7 +11,7 @@ # $VERSION declaration must stay up here, ahead of any other package # declarations, as to not confuse various modules attempting to determine # this ones version, whether that be s.c.o. or Module::Metadata, etc -$VERSION = '0.082842'; +$VERSION = '0.082843'; { package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/lib/DBIx/Class.pod new/DBIx-Class-0.082843/lib/DBIx/Class.pod --- old/DBIx-Class-0.082842/lib/DBIx/Class.pod 2020-06-16 22:12:05.000000000 +0200 +++ new/DBIx-Class-0.082843/lib/DBIx/Class.pod 2022-05-17 12:46:34.000000000 +0200 @@ -209,7 +209,7 @@ the seemingly most insignificant questions and suggestions have been shown to catalyze monumental improvements in consistency, accuracy and performance. -List of the awesome contributors who made DBIC v0.082842 possible +List of the awesome contributors who made DBIC v0.082843 possible =encoding utf8 @@ -419,6 +419,8 @@ B<lejeunerenard>: Sean Zellmer <s...@lejeunerenard.com> +B<leont>: Leon Timmermans <faw...@gmail.com> + B<littlesavage>: Alexey Illarionov <littlesav...@orionet.ru> B<lukes>: Luke Saunders <luke.saund...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/t/53lean_startup.t new/DBIx-Class-0.082843/t/53lean_startup.t --- old/DBIx-Class-0.082842/t/53lean_startup.t 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/t/53lean_startup.t 2022-05-15 10:18:53.000000000 +0200 @@ -30,7 +30,7 @@ # exclude our test suite, known "module require-rs" and eval frames $caller[1] =~ /^ t [\/\\] /x or - $caller[0] =~ /^ (?: base | parent | Class::C3::Componentised | Module::Inspector | Module::Runtime ) $/x + $caller[0] =~ /^ (?: base | parent | Class::C3::Componentised | Module::Inspector | Module::Runtime ) $/x && $caller[3] !~ m/::BEGIN$/ or $caller[3] eq '(eval)', ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/t/60core.t new/DBIx-Class-0.082843/t/60core.t --- old/DBIx-Class-0.082842/t/60core.t 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/t/60core.t 2022-05-15 10:59:05.000000000 +0200 @@ -4,6 +4,7 @@ use Test::More; use Test::Exception; use Test::Warn; +use Test::Deep; use lib qw(t/lib); use DBICTest ':DiffSQL'; @@ -387,7 +388,7 @@ $schema->source("Artist")->column_info_from_storage(1); $schema->source("Artist")->{_columns_info_loaded} = 0; - is_deeply ( + cmp_deeply ( $schema->source('Artist')->columns_info, { artistid => { @@ -410,7 +411,7 @@ size => 100 }, rank => { - data_type => "integer", + data_type => re(qr/^integer$/i), default_value => 13, is_nullable => 0, size => undef @@ -421,7 +422,7 @@ ok($schema->source("Artist")->{_columns_info_loaded} == 1, 'Columns info loaded flag set'); - is_deeply ( + cmp_deeply ( $schema->source('Artist')->columns_info([qw/artistid rank/]), { artistid => { @@ -431,7 +432,7 @@ size => undef }, rank => { - data_type => "integer", + data_type => re(qr/^integer$/i), default_value => 13, is_nullable => 0, size => undef diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/t/64db.t new/DBIx-Class-0.082843/t/64db.t --- old/DBIx-Class-0.082842/t/64db.t 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/t/64db.t 2022-05-15 10:59:05.000000000 +0200 @@ -2,6 +2,7 @@ use warnings; use Test::More; +use Test::Deep; use lib qw(t/lib); use DBICTest; @@ -48,7 +49,7 @@ ); { - is_deeply ( + cmp_deeply ( get_storage_column_info ($schema->storage, 'artist', qw/size/), { 'artistid' => { @@ -60,7 +61,7 @@ 'is_nullable' => 1, }, 'rank' => { - 'data_type' => 'integer', + 'data_type' => re(qr/^integer$/i), 'is_nullable' => 0, 'default_value' => '13', }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/t/prefetch/standard.t new/DBIx-Class-0.082843/t/prefetch/standard.t --- old/DBIx-Class-0.082842/t/prefetch/standard.t 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/t/prefetch/standard.t 2022-05-15 10:07:13.000000000 +0200 @@ -21,21 +21,24 @@ ok(!defined $cd[0]->liner_notes, 'No prefetch for NULL LEFT join'); - is($cd[1]->{_relationship_data}{liner_notes}->notes, 'Buy Whiskey!', 'Prefetch for present LEFT JOIN'); + is($cd[1]->liner_notes->notes, 'Buy Whiskey!', 'Prefetch for present LEFT JOIN'); is(ref $cd[1]->liner_notes, 'DBICTest::LinerNotes', 'Prefetch returns correct class'); - is($cd[2]->{_inflated_column}{artist}->name, 'Caterwauler McCrae', 'Prefetch on parent object ok'); + is($cd[2]->artist->name, 'Caterwauler McCrae', 'Prefetch on parent object ok'); }, 1, 'prefetch ran only 1 select statement'); # test for partial prefetch via columns attr -my $cd = $schema->resultset('CD')->find(1, +my $cd; +$schema->is_executed_querycount( sub { + $cd = $schema->resultset('CD')->find(1, { columns => [qw/title artist artist.name/], join => { 'artist' => {} } } -); -is( $cd->artist->name, 'Caterwauler McCrae', 'single related column prefetched'); + ); + is( $cd->artist->name, 'Caterwauler McCrae', 'single related column prefetched'); +}, 1, 'manual prefetch ran only 1 select statement'); # start test for nested prefetch SELECT count my $tag; @@ -65,8 +68,8 @@ $schema->is_executed_querycount( sub { $cd = $schema->resultset('CD')->find(1, { prefetch => 'artist' }); - is($cd->{_inflated_column}{artist}->name, 'Caterwauler McCrae', 'artist prefetched correctly on find'); -}, 1, 'find with prefetch ran exactly 1 select statement (excluding column_info)'); + is($cd->artist->name, 'Caterwauler McCrae', 'artist prefetched correctly on find'); +}, 1, 'find with prefetch ran exactly 1 select statement'); $schema->is_executed_querycount( sub { $cd = $schema->resultset('CD')->find(1, { prefetch => { cd_to_producer => 'producer' }, order_by => 'producer.producerid' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/DBIx-Class-0.082842/t/storage/replicated.t new/DBIx-Class-0.082843/t/storage/replicated.t --- old/DBIx-Class-0.082842/t/storage/replicated.t 2020-03-29 20:33:33.000000000 +0200 +++ new/DBIx-Class-0.082843/t/storage/replicated.t 2022-05-15 10:07:13.000000000 +0200 @@ -76,15 +76,16 @@ package DBIx::Class::DBI::Replicated::TestReplication; use DBICTest; - use base qw/Class::Accessor::Fast/; + use base 'Class::Accessor::Grouped'; - __PACKAGE__->mk_accessors( qw/schema/ ); + + __PACKAGE__->mk_group_accessors( simple => 'schema' ); ## Initialize the object sub new { my ($class, $schema_method) = (shift, shift); - my $self = $class->SUPER::new(@_); + my $self = bless( (shift || {}), $class ); $self->schema( $self->init_schema($schema_method) ); return $self; @@ -148,13 +149,12 @@ use File::Copy; use base 'DBIx::Class::DBI::Replicated::TestReplication'; - __PACKAGE__->mk_accessors(qw/master_path slave_paths/); + __PACKAGE__->mk_group_accessors( simple => qw( master_path slave_paths ) ); ## Set the master path from DBICTest sub new { - my $class = shift @_; - my $self = $class->SUPER::new(@_); + my $self = shift->next::method(@_); $self->master_path( DBICTest->_sqlite_dbfilename ); $self->slave_paths([