Skip to content

Update dependency attrs to v26#712

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/attrs-26.x
Open

Update dependency attrs to v26#712
renovate[bot] wants to merge 1 commit intomainfrom
renovate/attrs-26.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
attrs (changelog) <26<27 age adoption passing confidence

Release Notes

python-attrs/attrs (attrs)

v26.1.0

Compare Source

Backwards-incompatible Changes
  • Field aliases are now resolved before calling field_transformer, so transformers receive fully populated Attribute objects with usable alias values instead of None.
    The new Attribute.alias_is_default flag indicates whether the alias was auto-generated (True) or explicitly set by the user (False).
    #​1509
Changes
  • Fix type annotations for attrs.validators.optional(), so it no longer rejects tuples with more than one validator.
    #​1496
  • The attrs.validators.disabled() contextmanager can now be nested.
    #​1513
  • Frozen classes can set on_setattr=attrs.setters.NO_OP in addition to None.
    #​1515
  • It's now possible to pass attrs instances in addition to attrs classes to attrs.fields().
    #​1529

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants