action #163940
closedWarning in test: SQL::Translator::Diff::schema_diff(): producer_args is deprecated
0%
Description
Observation¶
I've seen this for a while already:
https://app.circleci.com/pipelines/github/os-autoinst/openQA/13997/workflows/82c46d70-704b-4e48-a3ef-76ad4dcb1e30/jobs/131686
[10:08:45] t/deploy.t ................................................ 14/? SQL::Translator::Diff::schema_diff(): producer_args is deprecated -- it does not go straight to the producer, it goes to the internal sqlt object. Please use sqlt_args, which reflects how it's used at /usr/lib/perl5/vendor_perl/5.26.1/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm line 533
DBIx::Class::DeploymentHandler was last released 5 years ago. I guess we can add a patch in OBS.
https://github.com/frioux/DBIx-Class-DeploymentHandler/issues/77
Updated by tinita 4 months ago ยท Edited
- Assignee set to tinita
Oh nice, the fix was just released: https://github.com/os-autoinst/openQA/pull/5770
Just have to figure out an issue with cpanspec and version normalizing (https://build.opensuse.org/package/show/devel:languages:perl:autoupdate/perl-DBIx-Class-DeploymentHandler)
https://build.opensuse.org/request/show/1188367
Updated by tinita 4 months ago
- Status changed from New to Resolved
The new version is in Factory: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DBIx-Class-DeploymentHandler
So I'd say we are fine, if the deprecated function ever gets removed.