Page MenuHomeSolus

Update python-attrs to 17.3.0
ClosedPublic

Authored by EP01 on Nov 30 2017, 8:10 PM.
Tags
None
Referenced Files
F11034873: D1505.id3870.diff
Wed, Aug 9, 5:20 PM
F11034872: D1505.id3703.diff
Wed, Aug 9, 5:20 PM
F11034871: D1505.id3706.diff
Wed, Aug 9, 5:20 PM
F11034870: D1505.id.diff
Wed, Aug 9, 5:20 PM
F11026543: D1505.diff
Wed, Aug 9, 2:32 AM
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
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

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.