Closed dependabot-preview[bot] closed 4 years ago
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
.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Bumps marshmallow from 2.16.3 to 3.3.0.
Changelog
*Sourced from [marshmallow's changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst).* > 3.3.0 (2019-12-05) > ================== > > Features: > > - `fields.Nested` may take a callable that returns a schema instance. Use this to resolve order-of-declaration issues when schemas nest each other (1146). > > ``` {.sourceCode .python} > # <3.3 > class AlbumSchema(Schema): > title = fields.Str() > artist = fields.Nested("ArtistSchema", only=("name",)) > > > class ArtistSchema(Schema): > name = fields.Str() > albums = fields.List(fields.Nested(AlbumSchema)) > > > # >=3.3 > class AlbumSchema(Schema): > title = fields.Str() > artist = fields.Nested(lambda: ArtistSchema(only=("name",))) > > > class ArtistSchema(Schema): > name = fields.Str() > albums = fields.List(fields.Nested(AlbumSchema)) > ``` > > Deprecations: > > - Passing the string `"self"` to `fields.Nested` is deprecated. Use a callable instead. > > ``` {.sourceCode .python} > from marshmallow import Schema, fields > > # <3.3 > class PersonSchema(Schema): > partner = fields.Nested("self", exclude=("partner",)) > friends = fields.List(fields.Nested("self")) > > > # >=3.3 > class PersonSchema(Schema): > partner = fields.Nested(lambda: PersonSchema(exclude=("partner"))) > friends = fields.List(fields.Nested(lambda: PersonSchema())) > ``` > > Other changes: > ... (truncated)Commits
- [`610fe7a`](https://github.com/marshmallow-code/marshmallow/commit/610fe7a060abde60719840b7c69b05432c05fe5f) Bump version and update changelog - [`bac2a40`](https://github.com/marshmallow-code/marshmallow/commit/bac2a400594f8a7adef44e4fc41f17b8934fdeab) Update mypy in pre-commit - [`ed199ac`](https://github.com/marshmallow-code/marshmallow/commit/ed199acfd5866e7869242f69c81d9be6281ae5c3) Make Number._format_num return typing.Any ([#1466](https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/1466)) - [`47d5e52`](https://github.com/marshmallow-code/marshmallow/commit/47d5e5257cf6d80f8ff491a746ad21eb29a67065) Mypy strictness ([#1467](https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/1467)) - [`31b784f`](https://github.com/marshmallow-code/marshmallow/commit/31b784fc24ed637c82d87eac35d1a1bd58851f59) Allow passing lambda functions to `Nested` ([#1382](https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/1382)) - [`e06e9ca`](https://github.com/marshmallow-code/marshmallow/commit/e06e9ca3aac1b7389eda488b0627340c5cb3782d) Bump sphinx from 2.2.1 to 2.2.2 - [`434df04`](https://github.com/marshmallow-code/marshmallow/commit/434df047da12890ee7a39e99333f702164f77f6f) Merge pull request [#1461](https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/1461) from marshmallow-code/dependabot/pip/mypy-0.750 - [`2ea86e6`](https://github.com/marshmallow-code/marshmallow/commit/2ea86e685b15ebe55aa380d6ec16df9b6bbad750) Bump mypy from 0.740 to 0.750 - [`271956b`](https://github.com/marshmallow-code/marshmallow/commit/271956b757a0a53579aeeb20dbb0d4d06f2be9b5) Merge pull request [#1444](https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/1444) from marshmallow-code/remove_duplicate_code - [`618521a`](https://github.com/marshmallow-code/marshmallow/commit/618521a69aaf081c0ac78ddb2a39cf3b395a044d) Fix role - Additional commits viewable in [compare view](https://github.com/marshmallow-code/marshmallow/compare/2.16.3...3.3.0)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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)