python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
HrachShah:fix/astuple-filter-propagation-into-dicts
3 hours ago
fix: detect ClassVar wrapped in ForwardRef on Python 3.14 Python 3.14 uses annotationlib which returns annotations as ForwardRef objects instead of plain strings. str(ForwardRef(...)) produces a repr string like 'ForwardRef(...)' which does not match the ClassVar prefix checks. Fix by extracting __forward_arg__ from ForwardRef objects when available, which returns the raw annotation string. Fixes #1575
muhamedfazalps:fix/forwardref-classvar-detection-314
14 hours ago
Fix attrs.frozen with enum.Enum subclasses When creating an Enum subclass of a frozen attrs class, the frozen __setattr__ would prevent Enum from creating members. Now, Enum instances can bypass the frozen check to allow proper member creation. Fixes #1287
C1-BA-B1-F3:fix-enum-frozen-1287
3 days ago
Fix pickling kw-only attrs exceptions
lin-hongkuan:codex/exception-kw-only-reduce
5 days ago
Handle attrs.asdict sets of instances
lin-hongkuan:codex/asdict-set-of-instances
5 days ago
update dev
main
11 days ago
Apply 1 week of cooldown for dev deps
main
24 days ago
Add `ne` validator This change adds a validator that raises `ValueError` if the initializer is called with a number equal to *val*. An example use case. I want a field that is a signed `int` of any value except for zero. I could do the following. ```python attrs.field( validator=attrs.validators.or_( attrs.validators.le(-1), attrs.validators.ge(1), ) ) ``` With this proposed `ne` validator I could do. ```python attrs.field(validator=attrs.validators.ne(0)) ```
jamesbeith:jamesbeith/ne-validator
26 days ago
Latest Branches
CodSpeed Performance Gauge
0%
astuple: forward filter and recurse into attrs nested in dict values
#1577
3 hours ago
4d0de24
HrachShah:fix/astuple-filter-propagation-into-dicts
CodSpeed Performance Gauge
0%
fix: detect ClassVar wrapped in ForwardRef on Python 3.14
#1576
14 hours ago
c996740
muhamedfazalps:fix/forwardref-classvar-detection-314
CodSpeed Performance Gauge
0%
Fix attrs.frozen with enum.Enum subclasses
#1574
3 days ago
d4e6d44
C1-BA-B1-F3:fix-enum-frozen-1287
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs