evdev breaking changes
evdev 2.0.0 (August 23, 2026) is its newest release with breaking changes, 6 of them. The first: Signature changed evdev.InputDevice. Every breaking API change we have recorded in evdev on PyPI: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.0, released August 23, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
evdev 2.0.0 breaking changes
- Signature changed
evdev.InputDevice
Was class InputDevice(EventIO, Generic[_AnyStr]); now class InputDevice(EventIO, Generic[AnyStr]). pypi.org - Signature changed
evdev.InputDevice.__init__
Was def __init__(self, dev: Union[_AnyStr, os.PathLike[_AnyStr]]); now def __init__(self, dev: PathLike, readonly: bool = False). pypi.org - Signature changed
evdev.InputDevice.path
Was path: _AnyStr; now path: str | bytes. pypi.org - Signature changed
evdev.InputDevice.upload_effect
Was def upload_effect(self, effect: ff.Effect); now def upload_effect(self, effect: ff.Effect, writeback_id: bool = True) -> int. pypi.org - Signature changed
evdev.list_devices
Was def list_devices(input_device_dir: Union[str, bytes, os.PathLike] = '/dev/input') -> List[str]; now def list_devices(input_device_dir: str | bytes | os.PathLike = '/dev/input', writable: bool = True) -> list[str]. pypi.org - Signature changed
evdev.util.is_device
Was def is_device(fn: Union[str, bytes, os.PathLike]) -> bool; now def is_device(fn: str | bytes | os.PathLike, writable: bool = True) -> bool. pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.