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

Update webargs requirement from ~=6.0 to >=6,<8 #39

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on webargs to permit the latest version.

Changelog

Sourced from webargs's changelog.

7.0.0 (2020-12-10)

Changes:

  • Backwards-incompatible: Drop support for webapp2 (565).
  • Add type annotations to Parser class, DelimitedList, and DelimitedTuple. (566)

7.0.0b2 (2020-12-01)

Features:

  • DjangoParser now supports the headers location. (540)
  • FalconParser now supports a new media location, which uses Falcon's media decoding. (253)

media behaves very similarly to the json location but also supports any registered media handler. See the Falcon documentation on media types for more details.

Changes:

  • FalconParser defaults to the media location instead of json. (253)
  • Test against Python 3.9 (552).
  • Backwards-incompatible: Drop support for Python 3.5 (553).

7.0.0b1 (2020-09-11)

Refactoring:

  • Backwards-incompatible: Remove support for marshmallow2 (539)

  • Backwards-incompatible: Remove dict2schema

    Users desiring the dict2schema functionality may now rely upon marshmallow.Schema.from_dict. Rewrite any code using dict2schema like so:

import marshmallow as ma

webargs 6.x and older

from webargs import dict2schema

myschema = dict2schema({"q1", ma.fields.Int()})

webargs 7.x

myschema = ma.Schema.from_dict({"q1", ma.fields.Int()})

Features:

  • Add unknown as a parameter to Parser.parse, Parser.use_args, Parser.use_kwargs, and parser instantiation. When set, it will be passed to Schema.load. When not set, the value passed will depend on the parser's settings. If set to None, the schema's default behavior will be used (i.e. no value is passed to Schema.load) and parser settings will be ignored.
Commits
  • ba4add8 Bump version and update changelog
  • fed6d42 Merge pull request #567 from sirosen/more-annotations
  • 6437fa4 Mark webargs as a PEP561 package
  • d1fbba7 Update changelog with note about type annotations
  • 96d3abc Add type annotations to webargs fields
  • 78b17bd Add tests for AIOHTTPParser.error_handler
  • d39bc5e Add type annotations to Parser methods
  • 5bcfcc1 Merge pull request #565 from marshmallow-code/drop_webapp2
  • 95454bd Update CHANGELOG
  • 7817689 Drop webapp2 support
  • Additional commits viewable in compare view

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.

If all status checks pass Dependabot will automatically merge this pull request.


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:

  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 11, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #46.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/webargs-gte-6-and-lt-8 branch April 9, 2021 12:12
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants