attrs: Decorator for Python classes with attributes¶
attrs is the Python package that will bring back the joy of writing classes by relieving you from the drudgery of implementing object protocols (aka dunder methods).
Equivalent System Packages¶
$ conda install python:attrs
macports: install the following packages: python:attrs See https://repology.org/project/python:attrs/versions
However, these system packages will not be used for building Sage because using Python site-packages is not supported by the Sage distribution; see https://trac.sagemath.org/ticket/29023