Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

chore(deps): bump attrs from 20.2.0 to 20.3.0 #448

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps attrs from 20.2.0 to 20.3.0.

Release notes

Sourced from attrs's releases.

20.3.0

Backward-incompatible Changes

  • attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional.

    This release does not change change anything about them and they are already used widely in production though.

    If you wish to use them together with mypy, you can simply drop this plugin into your project.

    Feel free to provide feedback to them in the linked issue #668.

    We will release the attrs namespace once we have the feeling that the APIs have properly settled. #668

Changes

  • attr.s() now has a field_transformer hook that is called for all Attributes and returns a (modified or updated) list of Attribute instances. attr.asdict() has a value_serializer hook that can change the way values are converted. Both hooks are meant to help with data (de-)serialization workflows. #653
  • kw_only=True now works on Python 2. #700
  • raise from now works on frozen classes on PyPy. #703, #712
  • attr.asdict() and attr.astuple() now treat frozensets like sets with regards to the retain_collection_types argument. #704
  • The type stubs for attr.s() and attr.make_class() are not missing the collect_by_mro argument anymore. #711
Changelog

Sourced from attrs's changelog.

20.3.0 (2020-11-05)

Backward-incompatible Changes

  • attr.define(), attr.frozen(), attr.mutable(), and attr.field() remain provisional.

    This release does not change change anything about them and they are already used widely in production though.

    If you wish to use them together with mypy, you can simply drop this plugin into your project.

    Feel free to provide feedback to them in the linked issue #668.

    We will release the attrs namespace once we have the feeling that the APIs have properly settled. #668

Changes

  • attr.s() now has a field_transformer hook that is called for all Attributes and returns a (modified or updated) list of Attribute instances. attr.asdict() has a value_serializer hook that can change the way values are converted. Both hooks are meant to help with data (de-)serialization workflows. #653
  • kw_only=True now works on Python 2. #700
  • raise from now works on frozen classes on PyPy. #703, #712
  • attr.asdict() and attr.astuple() now treat frozensets like sets with regards to the retain_collection_types argument. #704
  • The type stubs for attr.s() and attr.make_class() are not missing the collect_by_mro argument anymore. #711

Commits
  • f3762ba Prepare 20.3.0
  • 3d66e57 Exclude GitHub issues from linkcheck to avoid rate limits
  • 06d0f8e Add funding URLs to metadata
  • d23924f Add provisional notice
  • cd2f886 Use 'i' and 'k' to better distinguish variables in an example (#713)
  • f2dabea Fix exception chaining on PyPy (#712)
  • 6b4a1f1 Tighten up mypy configuration
  • 9f7d11e Add types to collect_by_mro annotations m(
  • 7020c8b pre-commit autoupdate
  • 56c7308 Add missing collect_by_mro to typing stubs
  • 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.

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)

Bumps [attrs](https://github.com/python-attrs/attrs) from 20.2.0 to 20.3.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst)
- [Commits](python-attrs/attrs@20.2.0...20.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 9, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling c74362e on dependabot/pip/attrs-20.3.0 into 12f03e0 on master.

@dependabot-preview dependabot-preview bot merged commit 4845fb6 into master Nov 9, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/attrs-20.3.0 branch November 9, 2020 09:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants