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 webargs from 3.0.2 to 4.0.0 #911

Merged
merged 1 commit into from
Jul 20, 2018
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jul 17, 2018

Bumps webargs from 3.0.2 to 4.0.0.

Changelog

Sourced from webargs's changelog.

4.0.0 (2018-07-15)


Features:

  • Backwards-incompatible: Custom error handlers receive the
    marshmallow.Schema instance as the third argument. Update any
    functions decorated with Parser.error_handler to take a schema
    argument, like so:

.. code-block:: python

# 3.x
[**parser**](https://github.com/parser).error_handler
def handle_error(error, req):
    raise CustomError(error.messages)


# 4.x
[**parser**](https://github.com/parser).error_handler
def handle_error(error, req, schema):
    raise CustomError(error.messages)

See marshmallow-code/marshmallow#840 (comment) <https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/840#issuecomment-403481686>_
for more information about this change.

Bug fixes:

  • Backwards-incompatible: Rename webargs.async to
    webargs.asyncparser to fix compatibility with Python 3.7
    (:issue:240). Thanks :user:Reskov for the catch and patch.

Other changes:

  • Backwards-incompatible: Drop support for Python 3.4 (:pr:243). Python 2.7 and

    =3.5 are supported.

  • Backwards-incompatible: Drop support for marshmallow<2.15.0.
    marshmallow>=2.15.0 and >=3.0.0b12 are officially supported.
  • Use black <https://github.com/ambv/black>_ with pre-commit <https://pre-commit.com/>_
    for code formatting (:pr:244).
Commits
  • a864099 Bump version and update changelog
  • 90b822f Merge pull request #250 from sloria/flask-attach-schema-to-error
  • 3ead80a Pass schema instance to error handlers
  • ee5ee8c Use :doc: instead of :ref: to refer to pages...
  • a721931 Merge pull request #249 from sloria/pyup-update-sphinx-issues-0.4.0-to-1.0.0
  • c432c2c Update sphinx-issues from 0.4.0 to 1.0.0
  • dcd67a9 Merge pull request #248 from sloria/pyup-update-tox-3.1.1-to-3.1.2
  • 802c434 Merge pull request #247 from sloria/pyup-update-invoke-1.0.0-to-1.1.0
  • 6c946cc Update tox from 3.1.1 to 3.1.2
  • 1c54e1b Update invoke from 1.0.0 to 1.1.0
  • Additional commits viewable 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 merge will merge this PR after your CI passes on it
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 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:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@lipis
Copy link
Member

lipis commented Jul 19, 2018

@dependabot rebase.

@lipis
Copy link
Member

lipis commented Jul 19, 2018

@rbubley Is this safe to merge?

Bumps [webargs](https://github.com/sloria/webargs) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/sloria/webargs/releases)
- [Changelog](https://github.com/sloria/webargs/blob/dev/CHANGELOG.rst)
- [Commits](marshmallow-code/webargs@3.0.2...4.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@rbubley
Copy link
Collaborator

rbubley commented Jul 19, 2018

I don't know: it passes the automated checks, but at the moment they just check that we could install gae-init and wrap the project for deployment. We don't yet have checks on whether the app can serve pages without erroring out.

Looking at the changelog though, I don't expect any of the backwards incompatibilities to hit this project.

@lipis lipis merged commit ffd05ff into master Jul 20, 2018
@lipis
Copy link
Member

lipis commented Jul 20, 2018

Great! Let's merge it then..

@lipis lipis deleted the dependabot/pip/webargs-4.0.0 branch July 20, 2018 08:30
rbubley pushed a commit to rbubley/gae-init that referenced this pull request Oct 30, 2018
Bumps [webargs](https://github.com/sloria/webargs) from 3.0.2 to 4.0.0.
<details>
<summary>Changelog</summary>

*Sourced from [webargs's changelog](https://github.com/sloria/webargs/blob/dev/CHANGELOG.rst).*

> 4.0.0 (2018-07-15)
> ******************
> 
> Features:
> 
> * *Backwards-incompatible*: Custom error handlers receive the
>   `marshmallow.Schema` instance as the third argument. Update any
>   functions decorated with `Parser.error_handler` to take a ``schema``
>   argument, like so:
> 
> .. code-block:: python
> 
>     # 3.x
>     [**parser**](https://github.com/parser).error_handler
>     def handle_error(error, req):
>         raise CustomError(error.messages)
> 
> 
>     # 4.x
>     [**parser**](https://github.com/parser).error_handler
>     def handle_error(error, req, schema):
>         raise CustomError(error.messages)
> 
> 
> See `marshmallow-code/marshmallow#840 (comment) <https://github-redirect.dependabot.com/marshmallow-code/marshmallow/issues/840#issuecomment-403481686>`_
> for more information about this change.
> 
> Bug fixes:
> 
> * *Backwards-incompatible*: Rename ``webargs.async`` to
>   ``webargs.asyncparser`` to fix compatibility with Python 3.7
>   (:issue:`240`). Thanks :user:`Reskov` for the catch and patch.
> 
> 
> Other changes:
> 
> * *Backwards-incompatible*: Drop support for Python 3.4 (:pr:`243`). Python 2.7 and
>   >=3.5 are supported.
> * *Backwards-incompatible*: Drop support for marshmallow<2.15.0.
>   marshmallow>=2.15.0 and >=3.0.0b12 are officially supported.
> * Use `black <https://github.com/ambv/black>`_ with `pre-commit <https://pre-commit.com/>`_
>   for code formatting (:pr:`244`).
</details>
<details>
<summary>Commits</summary>

- [`a864099`](marshmallow-code/webargs@a864099) Bump version and update changelog
- [`90b822f`](marshmallow-code/webargs@90b822f) Merge pull request [gae-init#250](https://github-redirect.dependabot.com/sloria/webargs/issues/250) from sloria/flask-attach-schema-to-error
- [`3ead80a`](marshmallow-code/webargs@3ead80a) Pass schema instance to error handlers
- [`ee5ee8c`](marshmallow-code/webargs@ee5ee8c) Use :doc: instead of :ref: to refer to pages...
- [`a721931`](marshmallow-code/webargs@a721931) Merge pull request [gae-init#249](https://github-redirect.dependabot.com/sloria/webargs/issues/249) from sloria/pyup-update-sphinx-issues-0.4.0-to-1.0.0
- [`c432c2c`](marshmallow-code/webargs@c432c2c) Update sphinx-issues from 0.4.0 to 1.0.0
- [`dcd67a9`](marshmallow-code/webargs@dcd67a9) Merge pull request [gae-init#248](https://github-redirect.dependabot.com/sloria/webargs/issues/248) from sloria/pyup-update-tox-3.1.1-to-3.1.2
- [`802c434`](marshmallow-code/webargs@802c434) Merge pull request [gae-init#247](https://github-redirect.dependabot.com/sloria/webargs/issues/247) from sloria/pyup-update-invoke-1.0.0-to-1.1.0
- [`6c946cc`](marshmallow-code/webargs@6c946cc) Update tox from 3.1.1 to 3.1.2
- [`1c54e1b`](marshmallow-code/webargs@1c54e1b) Update invoke from 1.0.0 to 1.1.0
- Additional commits viewable in [compare view](marshmallow-code/webargs@3.0.2...4.0.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=webargs&package-manager=pip&previous-version=3.0.2&new-version=4.0.0)](https://dependabot.com/compatibility-score.html?dependency-name=webargs&package-manager=pip&previous-version=3.0.2&new-version=4.0.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`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants