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 mashumaro from 2.9 to 3.0.3 in /core #5336

Closed
wants to merge 5 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 7, 2022

Bumps mashumaro from 2.9 to 3.0.2.

Release notes

Sourced from mashumaro's releases.

v3.0.2

Changes

v3.0.1

Changes

v3.0

Changes

  • Added support for new types:
    • typing.NewType
    • typing.Literal
    • typing_extensions.Literal
    • typing.Annotated
    • typing_extensions.Annotated
    • zoneinfo.ZoneInfo
    • typing_extensions.OrderedDict on Python<3.7.2.
  • Fixed using field options when using dataclass slots=True on Python 3.10 (Fatal1ty/mashumaro#68).
  • Fixed using postponed evaluation with parent class (Fatal1ty/mashumaro#70).
  • Fixed not removing field metadata options for the overridden field without them.
  • Fixed serialization of SerializableType generic classes.
  • Added new pass_through object that can be used in serialization_strategy and serialize / deserialize options.
  • Reduced code building time.
  • Use encoder and decoder written in C for YAML by default if available.

Backward incompatible changes

  • Moved msgpack, pyyaml dependencies to extras_require (Fatal1ty/mashumaro#7).
  • Moved DataClassJSONMixin, DataClassMessagePackMixin, DataClassYAMLMixin to mashumaro.mixins.* subpackages.
  • Removed use_bytes, use_enum, use_datetime parameters from DataClassDictMixin methods.
  • Removed encoder and decoder kwargs from to_*, from_* methods of the serialization mixins in order to pass keyword arguments to underlying to_dict, from_dict methods.

You can find migration guide here: https://github.com/Fatal1ty/mashumaro/blob/master/docs/2to3.md.

v2.11

Changes

  • PEP 604 compliance.
  • Fixed that Union[None, X] with None on the first place wasn't treated as Optional[X].
  • Fixed that Union[X, T] where T was resolved to None wasn't treated as Optional[X].
  • Allow using None as the field type (it's considered equivalent to NoneType).
  • Changed the name of NoneType to None in Unions for convenience. In the previous versions you could see Union[int, str, NoneType] instead of Union[int, str, None] if the field was declared as Union[int, str, None].

v2.10.1

Changes

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Bumps [mashumaro](https://github.com/Fatal1ty/mashumaro) from 2.9 to 3.0.2.
- [Release notes](https://github.com/Fatal1ty/mashumaro/releases)
- [Commits](Fatal1ty/mashumaro@v2.9...v3.0.2)

---
updated-dependencies:
- dependency-name: mashumaro
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner June 7, 2022 00:08
@dependabot dependabot bot requested review from emmyoop and McKnight-42 June 7, 2022 00:08
@dependabot dependabot bot added dependencies Changes to the version of dbt dependencies python Pull requests that update Python code labels Jun 7, 2022
@cla-bot cla-bot bot added the cla:yes label Jun 7, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2022

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 9, 2022

A newer version of mashumaro exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@dependabot dependabot bot requested a review from a team as a code owner July 7, 2022 22:22
@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 7, 2022

@dependabot ignore this minor version

@dependabot dependabot bot closed this Jul 7, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 7, 2022

OK, I won't notify you about version 3.0.x again, unless you re-open this PR or update to a 3.0.x release yourself.

@dependabot dependabot bot deleted the dependabot/pip/core/mashumaro-3.0.2 branch July 7, 2022 22:33
@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 7, 2022

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 7, 2022

Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use @dependabot reopen if the branch has been deleted).

@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 7, 2022

@dependabot reopen

@dependabot dependabot bot reopened this Jul 7, 2022
@dependabot dependabot bot restored the dependabot/pip/core/mashumaro-3.0.2 branch July 7, 2022 22:34
@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 7, 2022

TL;DR. I made some changes for this to work but got stuck on a hologram change. No hurry for this update I don't think, but note it will require some function signature changing to support breaking changes to DataClass<foo>Mixin. Specifically in the to_dict and from_dict methods

@leahwicz
Copy link
Contributor

leahwicz commented Jul 8, 2022

There was talk in this issue about version 3.0.3 fixing something for us so I'm going to bump this PR to be 3.0.3 just to see if that helps
#4940

@leahwicz leahwicz changed the title Bump mashumaro from 2.9 to 3.0.2 in /core Bump mashumaro from 2.9 to 3.0.3 in /core Jul 8, 2022
@leahwicz
Copy link
Contributor

leahwicz commented Jul 8, 2022

@iknox-fa the 3.0.3 bump looks to have fixed some failing tests for sure!

@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 8, 2022

@iknox-fa the 3.0.3 bump looks to have fixed some failing tests for sure!

Yay! I was trying to get dependabot to do that for me last night, but it didn't work right.

@iknox-fa
Copy link
Contributor

iknox-fa commented Jul 8, 2022

FYI-- The hologram issues remain even when we bump it to 3.0.3.

@leahwicz
Copy link
Contributor

leahwicz commented Jul 8, 2022

@iknox-fa thanks! At least we are just one more step closer. We can circle back to this in the next sprint and actually schedule work to get this wrapped up then

@iknox-fa
Copy link
Contributor

@emmyoop
Copy link
Member

emmyoop commented Jul 20, 2022

#5118 has been merged in to accomplish this bump

@emmyoop emmyoop closed this Jul 20, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 20, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/core/mashumaro-3.0.2 branch July 20, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes dependencies Changes to the version of dbt dependencies python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants