elliot: Hey folks is anyone else getting a deprecation warning on marshmallow? Something like:
...
/home/rof/.pyenv/versions/3.9.1/lib/python3.9/site-packages/marshmallow/fields.py:198
/home/rof/.pyenv/versions/3.9.1/lib/python3.9/site-packages/marshmallow/fields.py:198: RemovedInMarshmallow4Warning: Passing field metadata as a keyword arg is deprecated. Use the explicit `metadata=...` argument instead.
...
Tried to update to the latest version of prefect and still no joy!
holm.noah: Yes, I suppose some changes in the usage still needs to be performed
kevin701: Hi <@U01A5UMH7HT>! I’ll bring this up to the team.
elliot: Awesome thanks 👍
kevin701: Do you have a simple flow to reproduce this and what is your Prefect version?
kevin701: Can you try with Python 3.8 as well because 3.9 is experimental?
holm.noah: Hey Kevin, I’ve seen this on Python 3.8 when using prefect.utilities.debug.is_serializable from pytest.
kevin701: Perfect thanks for the info.
kevin701: <@ULVA73B9P> open “Marshmallow Deprecation Warning”
PrefectHQ#4540
`serialization` was erroneously using the kwarg `key` to
marshmallow.fields.Dict, this should be `keys`. Marshmallow was seeing
this as `additional_metadata`, so showing a deprecation warning.
PrefectHQ#4540
`serialization` was erroneously using the kwarg `key` to
marshmallow.fields.Dict, this should be `keys`. Marshmallow was seeing
this as `additional_metadata`, so showing a deprecation warning.
#4540
`serialization` was erroneously using the kwarg `key` to
marshmallow.fields.Dict, this should be `keys`. Marshmallow was seeing
this as `additional_metadata`, so showing a deprecation warning.
Opened from the Prefect Public Slack Community
elliot: Hey folks is anyone else getting a deprecation warning on marshmallow? Something like:
Tried to update to the latest version of prefect and still no joy!
holm.noah: Yes, I suppose some changes in the usage still needs to be performed
kevin701: Hi <@U01A5UMH7HT>! I’ll bring this up to the team.
elliot: Awesome thanks👍
kevin701: Do you have a simple flow to reproduce this and what is your Prefect version?
kevin701: Can you try with Python 3.8 as well because 3.9 is experimental?
holm.noah: Hey Kevin, I’ve seen this on Python 3.8 when using
prefect.utilities.debug.is_serializablefrom pytest.kevin701: Perfect thanks for the info.
kevin701: <@ULVA73B9P> open “Marshmallow Deprecation Warning”
Original thread can be found here.
The text was updated successfully, but these errors were encountered: