marshmallow-sqlalchemy icon indicating copy to clipboard operation
marshmallow-sqlalchemy copied to clipboard

test_info_overrides raise DeprecationWarning

Open eamanu opened this issue 3 years ago • 1 comments

Hi,

During the packaging of version 0.28.1 in Debian I can note that the test_info_override() test still raise the DeprecationWarning. Also I note the issue https://github.com/marshmallow-code/marshmallow-sqlalchemy/issues/361 that was closed, but it still happen.

tests/test_conversion.py::TestModelFieldConversion::test_info_overrides
  /usr/lib/python3/dist-packages/marshmallow_sqlalchemy/convert.py:300: DeprecationWarning: Passing `info={"marshmallow": ...}` is deprecated. Use `SQLAlchemySchema` and `auto_field` instead.
    warnings.warn(

Cheers

eamanu avatar Sep 09 '22 16:09 eamanu

You can see a logs here https://salsa.debian.org/python-team/packages/python-marshmallow-sqlalchemy/-/jobs/3208093#L217

eamanu avatar Sep 09 '22 16:09 eamanu