Skip to content

Update cattrs requirement from ~=25.2.0 to >=25.2,<25.4#74

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/cattrs-gte-25.2-and-lt-25.4
Open

Update cattrs requirement from ~=25.2.0 to >=25.2,<25.4#74
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/cattrs-gte-25.2-and-lt-25.4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2025

Updates the requirements on cattrs to permit the latest version.

Release notes

Sourced from cattrs's releases.

v25.3.0

  • 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)

New Contributors

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

Changelog

Sourced from cattrs's changelog.

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. See Migrations for steps to restore legacy behavior. (#663)
  • Add a use_alias parameter to {class}cattrs.Converter. {func}cattrs.gen.make_dict_unstructure_fn_from_attrs, {func}cattrs.gen.make_dict_unstructure_fn, {func}cattrs.gen.make_dict_structure_fn_from_attrs, {func}cattrs.gen.make_dict_structure_fn and {func}cattrs.gen.typeddicts.make_dict_structure_fn will use the value for the use_alias parameter from the given converter by default now. If you're using these functions directly, the old behavior can be restored by passing in the desired value directly. (#596 #660)
  • The union passthrough strategy now by default accepts ints for unions that contain floats but not ints, when configured to be able to handle both ints and floats. This more closely matches the current typing behavior. (#656 #668)
  • Fix unstructuring of generic classes with stringified annotations. (#661 #662
  • For {class}cattrs.errors.StructureHandlerNotFoundError and {class}cattrs.errors.ForbiddenExtraKeysError correctly set {attr}BaseException.args in super() and hence make them pickable. (#666)
  • The default disambiguation hook factory is now only enabled for converters with unstructure_strat=AS_DICT (the default). Since the strategy doesn't support tuples, it is skipped for unstructure_strat=AS_TUPLE converters. (#673)
  • Switch to uv and just in lieu of PDM, tox and Make. See the Contributing section for new workflow instructions. (#671)

25.1.1 (2025-06-04)

  • Fixed AttributeError: no attribute '__parameters__' while structuring attrs classes that inherit from parametrized generic aliases from collections.abc. (#654 #655)

25.1.0 (2025-05-31)

... (truncated)

Commits
  • f8663b3 v25.3.0
  • 88af007 Enable Python 3.14 (#653)
  • 5a1bb1a Split test_baseconverter.py::test_310_union_field_roundtrip into two to mak...
  • f0c0a53 Structure abstract sets to frozensets (#686)
  • 64f6305 Fix include_subclasses strategy with a generic parent and tagged_union (backp...
  • 75bfffa Improve Hypothesis test robustness (#684)
  • See full diff in compare view

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 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 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@v25.2.0...v25.3.0)

---
updated-dependencies:
- dependency-name: cattrs
  dependency-version: 25.3.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 Oct 8, 2025
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