python-attrs 25.4.0-ok2 source package in openKylin
Changelog
python-attrs (25.4.0-ok2) huanghe; urgency=medium
* Fix inference of the return type of ``attrs.converters.pipe()`` (and of
the converter-list sugar of ``attrs.field()``/``attr.ib()``) when it wraps
``Converter`` objects. The previous code relied on ``inspect.signature()``
resolving the ``__call__`` of a callable instance, which is not the case on
the Python 3.12.2 shipped by openKylin, so the return type annotation was
lost and tests/test_converters.py::TestPipe::test_wrapped_annotation failed.
-- openKylin Developers <email address hidden> Tue, 13 Oct 2026 14:00:00 +0800