Page MenuHomeSolus

Update python-attrs to 17.3.0
ClosedPublic

Authored by EP01 on Nov 30 2017, 8:10 PM.
Tags
None
Referenced Files
F10951026: D1505.id3706.diff
Sun, Jul 16, 9:46 AM
F10843103: D1505.id3706.diff
Jun 10 2023, 4:54 PM
F10841326: D1505.id3870.diff
Jun 10 2023, 6:31 AM
F10840866: D1505.id3703.diff
Jun 10 2023, 3:32 AM
F10835016: D1505.diff
Jun 7 2023, 6:41 PM
F10803232: D1505.id.diff
May 29 2023, 10:49 AM
F10776066: D1505.id3703.diff
May 23 2023, 5:28 AM
F10758070: D1505.diff
May 17 2023, 1:06 PM
Subscribers

Details

Summary

Breaking Change

  • Attributes are not defined on the class body anymore.

This means that if you define a class C with an attribute x, the class will not have an attribute x for introspection anymore. Instead of C.x, use attr.fields(C).x or look at C.__attrs_attrs__. The old behaviour has been deprecated since version 16.1. (#253)

Full Changelog

Test Plan

Tested with pytest and qutebrowser.

Diff Detail

Repository
R2555 python-attrs
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fixed typo in component field.

JoshStrobl added a subscriber: JoshStrobl.

Tested with pytest.

And what about its actual reverse dependencies like qutebrowser? Also given how small the changeset is, it wouldn't hurt to at least have a summarized changelog and link to the full one.

This revision now requires changes to proceed.Dec 4 2017, 10:21 PM
EP01 requested review of this revision.Dec 5 2017, 12:52 AM
EP01 edited the summary of this revision. (Show Details)
EP01 edited the test plan for this revision. (Show Details)
EP01 edited edge metadata.

Working fine with qutebrowser. Updated summary.

I said a summary, not copy paste :P

@JoshStrobl just think of it as a very ... complete ... summary ?

This revision now requires changes to proceed.Dec 5 2017, 11:47 PM
EP01 requested review of this revision.Dec 6 2017, 8:51 AM
EP01 edited edge metadata.
This revision is now accepted and ready to land.Dec 7 2017, 8:54 PM
This revision was automatically updated to reflect the committed changes.