Update dependency attrs to v23.2.0 (main) #58
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==23.1.0
->==23.2.0
Release Notes
python-attrs/attrs (attrs)
v23.2.0
Compare Source
Changes
attrs.resolve_types()
is now correct.#1141
typing.dataclass_transform
to decorate dataclass-like decorators, instead of the non-standard__dataclass_transform__
special form, which is only supported by Pyright.#1158
attrs.asdict/astuple()
withretain_collection_types=True
.#1165
attrs.AttrsInstance
is now atyping.Protocol
in both type hints and code.This allows you to subclass it along with another
Protocol
.#1172
__attrs_pre_init__
accepts more than justself
, it will call it with the same arguments as__init__
was called.This allows you to, for example, pass arguments to
super().__init__()
.#1187
functools.cached_property
decorated methods to support equivalent semantics.#1200
attrs.make_class()
to provide additional attributes for newly created classes.It is, for example, now possible to attach methods.
#1203
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.