Skip to content

Bump cattrs from 25.3.0 to 26.1.0#2413

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cattrs-26.1.0
Closed

Bump cattrs from 25.3.0 to 26.1.0#2413
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/cattrs-26.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Copy link
Copy Markdown
Contributor

Bumps cattrs from 25.3.0 to 26.1.0.

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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner May 5, 2026 09:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/cattrs-26.1.0 branch from 37d7afb to 10a88ae Compare May 8, 2026 14:10
Bumps [cattrs](https://github.com/python-attrs/cattrs) from 25.3.0 to 26.1.0.
- [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.3.0...v26.1.0)

---
updated-dependencies:
- dependency-name: cattrs
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/cattrs-26.1.0 branch from 10a88ae to b26bf84 Compare May 11, 2026 08:02
@asnare asnare self-assigned this May 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 13, 2026

Copy link
Copy Markdown
Contributor Author

Looks like cattrs is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 13, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/cattrs-26.1.0 branch May 13, 2026 09:49
ameersalman33 pushed a commit to ameersalman33/lakebridge that referenced this pull request May 19, 2026
## Changes

This primary purpose of this PR is:

- Fixing some changes to `uv.lock` that were inadvertently introduced in
databrickslabs#2151.
 - Updating our CI to detect issues in PRs relating to the lock-files.

The intention within this repo is:

 - The lock-files should only update under 2 circumstances:

    - A refresh-only update of the lock-files.
    - A dependency in `pyproject.toml` has been changed.

- Outside of this, `uv.lock` and `.build-constraints.txt` should not be
changing.
- When they change, it should be via `make lock-dependencies` which
ensures `uv.lock` refers to PyPI properly. (Manual review is unlikely to
spot the error if a dev proxy is in there, so this PR automates the
check.)

Further to these linting-releated changes:

- Running `make lock-dependencies` now locks to the latest versions of
dependencies instead of keeping the existing versions if they're still
within their allowed version range.
- The use of `databricks-bb-analyzer==0.3.1` is blocked: the analyzer
binary in this release doesn't work properly. (Issue databrickslabs#2373.)

Finally, to verify the linting this PR updates some dependencies:

 - Versions are locked against the highest version.
 - Outstanding dependabot updates are included.

### Relevant implementation details

The linting script has been written so that it can be run locally by
developers, it doesn't require the GHA environment to be in place.

### Linked Issues

Resolves: databrickslabs#2373

Subsumes:
 - databrickslabs#2409
 - databrickslabs#2410 
 - databrickslabs#2411
 - databrickslabs#2412
 - databrickslabs#2413
 - databrickslabs#2415

### Tests

- manually tested
- new CI check
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant