Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marshmallow: remove deprecation warning #333

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

psaiz
Copy link
Contributor

@psaiz psaiz commented Apr 22, 2024

❤️ Thank you for your contribution!

Description

Remove deprecation warnings from marshmallow, like:

/opt/invenio/var/instance/python/lib/python3.9/site-packages/invenio_records_rest/schemas/json.py:14: DeprecationWarning: The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
  from marshmallow import __version_info__ as marshmallow_version

/opt/invenio/var/instance/python/lib/python3.9/site-packages/invenio_records_rest/schemas/fields/generated.py:13: DeprecationWarning: The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
  from marshmallow import __version_info__ as marshmallow_version

@psaiz psaiz force-pushed the marshmallow branch 2 times, most recently from cc03d23 to 374b5fe Compare April 22, 2024 14:23
@psaiz psaiz changed the title marhsmallow: remove deprecation warning marshmallow: remove deprecation warning Apr 22, 2024
@zzacharo zzacharo merged commit 35845fc into inveniosoftware:master Apr 22, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants