Attributes class no longer extends Mapping. Since there are actually no known keys, it can not. Concrete methods inherited from mapping, which expect a known list of keys, e.g., keys(), values(), items are no longer defined. Attributes objects are not indexable or iterable, and have no length. A get() method with the usual semantics is explicitly defined and asint(), asstring(), asbool() methods continue to raise a KeyError (inappropriate in context where attribute keys are unknown but more backwards compatible).
DeviceNotFoundError no longer extends LookupError. There are no known keys for the device, so extending LookupError is semantically incorrect.
qt5 support added
discover module added
Device.from methods are deprecated; use equivalent Devices.from methods.
Device.from_device_file and Device.from_device_number should always raise subtype of DeviceNotFoundError. Previously, they might allow builtin exceptions from invocations in the implementation to propagate.
New methods Device.from_interface_index, from_kernel_device added.
How to install
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
This update has been submitted for testing by mulhern.
This update has been pushed to testing.
No problems noticed so far
works for me
This update has been submitted for stable by bodhi.
Works fine! LGTM =)
This update has been pushed to stable.