Skip to content

Chore(deps): Update cattrs requirement from <26 to <27#151

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cattrs-lt-27
Open

Chore(deps): Update cattrs requirement from <26 to <27#151
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cattrs-lt-27

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on cattrs to permit the latest version.

Release notes

Sourced from cattrs's releases.

v26.1.0

  • Add the tomllib preconf converter. See here for details. (#716)
  • Customizing un/structuring of attrs classes, dataclasses, TypedDicts and dict NamedTuples is now possible by using Annotated[T, override()] on fields. See here for more details. (#717)
  • Fix structuring of nested generic classes with stringified annotations. (#688)
  • Python 3.9 is no longer supported, as it is end-of-life. Use previous versions on this Python version. (#698)
  • Apply the attrs converter to the default value before checking if it is equal to the attribute's value, when omit_if_default is true and an attrs converter is specified. (#696)
  • Use the optional _value_ type hint to structure and unstructure enums if present. (#699)
  • Aliases (when in use) now properly generate rename metadata in generated hooks. (#706 #710)
  • cattrs now tracks performance using codspeed. (#703)
  • The tomlkit preconf converter now properly handles native date objects when structuring. (#707 #708)
  • The tomlkit preconf converter now passes date objects directly to tomlkit for unstructuring. (#707 #708)
  • Enum handling has been optimized by switching to hook factories, improving performance especially for plain enums. (#705)
  • Fix cattrs.strategies.include_subclasses when used with cattrs.strategies.configure_tagged_union and classes using diamond inheritance. (#685 #713)
  • Fix cattrs.strategies.configure_tagged_union when used with recursive type aliases. (#678 #714)

New Contributors

Full Changelog: python-attrs/cattrs@v25.3.0...v26.1.0

Changelog

Sourced from cattrs's changelog.

26.1.0 (2026-02-18)

  • Add the {mod}tomllib <cattrs.preconf.tomllib> preconf converter. See here for details. (#716)
  • Customizing un/structuring of attrs classes, dataclasses, TypedDicts and dict NamedTuples is now possible by using Annotated[T, override()] on fields. See here for more details. (#717)
  • Fix structuring of nested generic classes with stringified annotations. (#688)
  • Python 3.9 is no longer supported, as it is end-of-life. Use previous versions on this Python version. (#698)
  • Apply the attrs converter to the default value before checking if it is equal to the attribute's value, when omit_if_default is true and an attrs converter is specified. (#696)
  • Use the optional _value_ type hint to structure and unstructure enums if present. (#699)
  • Aliases (when in use) now properly generate rename metadata in generated hooks. (#706 #710)
  • cattrs now tracks performance using codspeed. (#703)
  • The {mod}tomlkit <cattrs.preconf.tomlkit> preconf converter now properly handles native date objects when structuring. (#707 #708)
  • The {mod}tomlkit <cattrs.preconf.tomlkit> preconf converter now passes date objects directly to tomlkit for unstructuring. (#707 #708)
  • Enum handling has been optimized by switching to hook factories, improving performance especially for plain enums. (#705)
  • Fix {func}cattrs.strategies.include_subclasses when used with {func}cattrs.strategies.configure_tagged_union and classes using diamond inheritance. (#685 #713)
  • Fix {func}cattrs.strategies.configure_tagged_union when used with recursive type aliases. (#678 #714)

25.3.0 (2025-10-07)

  • Potentially breaking: Abstract sets are now structured into frozensets. This allows hashability, better immutability and is more consistent with the collections.abc.Set type. See Migrations for steps to restore legacy behavior. (#686)
  • Python 3.14 is now supported and part of the test matrix. (#653)
  • Fix unstructuring NewTypes with the {class}BaseConverter. (#684)
  • Make some Hypothesis tests more robust. (#684)
  • {func}cattrs.strategies.include_subclasses now works with generic parent classes and the tagged union strategy. (#683)

25.2.0 (2025-08-31)

  • Potentially breaking: Sequences are now structured into tuples. This allows hashability, better immutability and is more consistent with the collections.abc.Sequence type.

... (truncated)

Commits

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.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [cattrs](https://github.com/python-attrs/cattrs) to permit the latest version.
- [Release notes](https://github.com/python-attrs/cattrs/releases)
- [Changelog](https://github.com/python-attrs/cattrs/blob/main/HISTORY.md)
- [Commits](python-attrs/cattrs@v0.2.0...v26.1.0)

---
updated-dependencies:
- dependency-name: cattrs
  dependency-version: 26.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 29, 2026
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants