Fedora 23 Update: python-pyudev-0.18.1-1.fc23

updates at fedoraproject.org updates at fedoraproject.org
Mon Dec 28 23:02:06 UTC 2015


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2015-7eb77298d4
2015-12-28 19:20:02.182095
--------------------------------------------------------------------------------

Name        : python-pyudev
Product     : Fedora 23
Version     : 0.18.1
Release     : 1.fc23
URL         : http://pypi.python.org/pypi/pyudev
Summary     : A libudev binding
Description :
pyudev is a LGPL licensed, pure Python binding for libudev, the device
and hardware management and information library for Linux.  It supports
almost all libudev functionality, you can enumerate devices, query device
properties and attributes or monitor devices, including asynchronous
monitoring with threads, or within the event loops of Qt, Glib or wxPython.

The binding supports CPython 2 (2.6 or newer) and 3 (3.1 or newer), and
PyPy 1.5 or newer.  It is tested against udev 151 or newer, earlier
versions of udev as found on dated Linux systems may work, but are not
officially supported.

--------------------------------------------------------------------------------
Update Information:

Changes:  * 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.
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1267584 - device.attributes.values likely to raise a KeyError
        https://bugzilla.redhat.com/show_bug.cgi?id=1267584
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program. Use
su -c 'yum update python-pyudev' at the command line.
For more information, refer to "Managing Software with yum",
available at https://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list