attrs library was replaced with dataclasses. Replace attr.evolve() with dataclasses.replace() if needed.