Path to this page:
Subject: CVS commit: pkgsrc/devel/py-attrs
From: Adam Ciarcinski
Date: 2024-12-24 17:06:13
Message id: 20241224160613.9C66CFC1D@cvs.NetBSD.org
Log Message:
py-attrs: updated to 24.3.0
24.3.0
Backwards-incompatible Changes
- Python 3.7 has been dropped.
Changes
- Introduce `attrs.NothingType`, for annotating types consistent with \
`attrs.NOTHING`.
- Allow mutating `__suppress_context__` and `__notes__` on frozen exceptions.
- `attrs.converters.optional()` works again when taking \
`attrs.converters.pipe()` or another Converter as its argument.
- *attrs* instances now support \
[`copy.replace()`](https://docs.python.org/3/library/copy.html#copy.replace).
- `attrs.validators.instance_of()`'s type hints now allow for union types.
For example: `instance_of(str | int)`
Files: