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

build(deps-dev): bump mashumaro from 1.9 to 1.12 #58

Merged
merged 1 commit into from
Aug 22, 2020

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 22, 2020

Bumps mashumaro from 1.9 to 1.12.

Release notes

Sourced from mashumaro's releases.

v1.12

Fix for derived data classes without annotations

In the version 1.11 if a data class without annotations had been derived from another data class, KeyError would have been raised as it shown in the following example:

@dataclass
class A:
    a: int
@dataclass
class B(A, DataClassDictMixin):
pass
...
KeyError: 'annotations'

v1.11

Fix constructing data class instances with inherited default values

In the previous versions there was a problem in case one data class is derived from another data class that have default values. If any ancestor had had a field with a default value, constructing an instance from a dictionary without that field would've been failed as it shown in the following example:

@dataclass
class A:
    a: int
    b: int = 123
@dataclass
class B(A, DataClassDictMixin):
c: int = 456
B.from_dict({'a': 111, 'c': 222})  # mashumaro.exceptions.MissingField: Field "b" of type builtins.int is missing in main.B instance

v1.10

Features

  • Add support for classes implementing the os.PathLike interface
Commits

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 Aug 22, 2020
@dependabot dependabot bot force-pushed the dependabot/pip/mashumaro-1.12 branch from 617a5d2 to 3148727 Compare August 22, 2020 14:42
Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 1.9 to 1.12.
- [Release notes](https://github.com/Fatal1ty/mashumaro/releases)
- [Commits](Fatal1ty/mashumaro@v1.9...v1.12)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/mashumaro-1.12 branch from 3148727 to 57321a7 Compare August 22, 2020 14:45
@matfax matfax merged commit 992e757 into master Aug 22, 2020
@matfax matfax deleted the dependabot/pip/mashumaro-1.12 branch August 22, 2020 14:49
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