build(deps): update dependency attrs to v24.3.0 (main) #2063
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:
==24.2.0
->==24.3.0
Release Notes
python-attrs/attrs (attrs)
v24.3.0
Compare Source
Backwards-incompatible Changes
#1340
Changes
attrs.NothingType
, for annotating types consistent withattrs.NOTHING
.#1358
__suppress_context__
and__notes__
on frozen exceptions.#1365
attrs.converters.optional()
works again when takingattrs.converters.pipe()
or another Converter as its argument.#1372
copy.replace()
.#1383
attrs.validators.instance_of()
's type hints now allow for union types.For example:
instance_of(str | int)
#1385
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.