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

Bump marshmallow-dataclass from 8.3.2 to 8.4.1 #280

Merged
merged 1 commit into from
May 6, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2021

Bumps marshmallow-dataclass from 8.3.2 to 8.4.1.

Changelog

Sourced from marshmallow-dataclass's changelog.

v8.4.1

  • Fix compatibility with older python versions.

v8.4.0

  • Add support for multiple collections.abc containers :
    • Mapping
    • Sequence
    • Set
    • FrozenSet
    • (see #131)

You can now write :

from marshmallow_dataclass import dataclass
from collections.abc import Sequence, Mapping, Set
@​dataclass
class FrozenData:
seq: Sequence[int] # like List[int], but immutable
map: Mapping[str, int] # like Dict[str, int], but immutable
set: Set[int] # like List[int], but unordered
f: FrozenData = FrozenData.Schema().load({"seq":[1], "map":{"x":2}, "set":[2]})
print(f.seq[0]) # -> 1
print(f.map["x"]) # -> 2
print(2 in f.set) # -> True

Commits
  • 4a0cde7 Fix compatibility with older python versions (#133)
  • e99e252 Update CI config syntax
  • ff59d4f Fix invalid CI config syntax
  • 45ff71c Add support for Mapping, Sequence, Set and FrozenSet (#132)
  • c057462 Increase warning visibility, suggest using field metadata (#130)
  • See full diff in compare view

Dependabot compatibility score

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 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 May 6, 2021
@dependabot dependabot bot force-pushed the dependabot/pip/marshmallow-dataclass-8.4.1 branch 2 times, most recently from d76ac41 to 5e82559 Compare May 6, 2021 09:58
@dependabot dependabot bot force-pushed the dependabot/pip/marshmallow-dataclass-8.4.1 branch from 5e82559 to ab8e527 Compare May 6, 2021 10:23
@epenet epenet merged commit 12ba721 into main May 6, 2021
@epenet epenet deleted the dependabot/pip/marshmallow-dataclass-8.4.1 branch May 6, 2021 10:37
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant