Skip to content

Update marshmallow requirement from <4 to <5 in /server - #724

Merged
Tim020 merged 2 commits into
devfrom
dependabot/pip/server/dev/marshmallow-lt-5
Aug 31, 2025
Merged

Update marshmallow requirement from <4 to <5 in /server#724
Tim020 merged 2 commits into
devfrom
dependabot/pip/server/dev/marshmallow-lt-5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 29, 2025

Copy link
Copy Markdown
Contributor

Updates the requirements on marshmallow to permit the latest version.

Changelog

Sourced from marshmallow's changelog.

4.0.1 (2025-08-28) ++++++++++++++++++

Bug fixes:

  • Fix wildcard import of from marshmallow import * (:pr:2823). Thanks :user:Florian-Laport for the PR.

4.0.0 (2025-04-16)


See :ref:upgrading_4_0 for a guide on updating your code.

Features:

  • Typing: Add types to all Field <marshmallow.fields.Field> constructor kwargs (:issue:2285). Thanks :user:navignaw for the suggestion.
  • DateTime <marshmallow.fields.DateTime>, Date <marshmallow.fields.Date>, Time <marshmallow.fields.Time>, TimeDelta <marshmallow.fields.TimeDelta>, and Enum <marshmallow.fields.Enum> accept their internal value types as valid input (:issue:1415). Thanks :user:bitdancer for the suggestion.
  • @validates <marshmallow.validates> accepts multiple field names (:issue:1960). Backwards-incompatible: Decorated methods now receive data_key as a keyword argument. Thanks :user:dpriskorn for the suggestion and :user:dharani7998 for the PR.

Other changes:

  • Typing: Field <marshmallow.fields.Field> is now a generic type with a type argument for the internal value type.

  • marshmallow.fields.UUID no longer subclasses marshmallow.fields.String.

  • marshmallow.Schema.load no longer silently fails to call schema validators when a generator is passed (:issue:1898). The typing of data is also updated to be more accurate. Thanks :user:ziplokk1 for reporting.

  • Backwards-incompatible: Use datetime.date.fromisoformat, datetime.time.fromisoformat, and datetime.datetime.fromisoformat from the standard library to deserialize dates, times and datetimes (:pr:2078). As a consequence of this change:

    • Time with time offsets are now supported.
    • YYYY-MM-DD is now accepted as a datetime and deserialized as naive 00:00 AM.
    • from_iso_date, from_iso_time and from_iso_datetime are removed from marshmallow.utils.
  • Remove isoformat, to_iso_time and to_iso_datetime from marshmallow.utils (:pr:2766).

  • Remove from_rfc, and rfcformat from marshmallow.utils (:pr:2767).

  • Remove is_keyed_tuple from marshmallow.utils (:pr:2768).

  • Remove get_fixed_timezone from marshmallow.utils (:pr:2773).

  • Backwards-incompatible: marshmallow.fields.Boolean no longer serializes non-boolean values (:pr:2725).

  • Backwards-incompatible: Rename schema parameter to parent in marshmallow.fields.Field._bind_to_schema (:issue:1360).

  • Backwards-incompatible: Rename pass_many parameter to pass_collection in pre/post processing methods (:issue:1369).

  • Backwards-incompatible: marshmallow.fields.TimeDelta no longer truncates float values when deserializing (:pr:2654). This allows microseconds to be preserved, e.g.

.. code-block:: python

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 29, 2025
@github-actions

github-actions Bot commented Aug 29, 2025

Copy link
Copy Markdown

Test Results

26 tests   26 ✅  3s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 7a6a6a6.

♻️ This comment has been updated with latest results.

Updates the requirements on [marshmallow](https://github.com/marshmallow-code/marshmallow) to permit the latest version.
- [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst)
- [Commits](marshmallow-code/marshmallow@0.1.0...4.0.1)

---
updated-dependencies:
- dependency-name: marshmallow
  dependency-version: 4.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/server/dev/marshmallow-lt-5 branch from f4801f7 to d644137 Compare August 30, 2025 19:53
…atibility

- Upgraded marshmallow-sqlalchemy from 0.30.0 to >=1.4.0
- Resolves AttributeError: module 'marshmallow' has no attribute '__version__'
- marshmallow-sqlalchemy v1.4.0+ supports both marshmallow v3 and v4
- All tests passing (26/26)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added server Pull requests changing back end code xsmall-diff labels Aug 31, 2025
@Tim020
Tim020 enabled auto-merge (squash) August 31, 2025 10:56
@Tim020
Tim020 merged commit 9d27c4f into dev Aug 31, 2025
14 checks passed
@Tim020
Tim020 deleted the dependabot/pip/server/dev/marshmallow-lt-5 branch August 31, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code server Pull requests changing back end code xsmall-diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant