Skip to content

Commit

Permalink
Bump version: 1.8.0 → 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gvalkov committed Feb 8, 2025
1 parent 2c623eb commit 7cb02b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Changelog
---------

1.9.0 (Unreleased)
1.9.0 (Feb 08, 2025)
==================

- Fix ``CPATH/C_INCLUDE_PATH`` being ignored during build.
- Fix for ``CPATH/C_INCLUDE_PATH`` being ignored during build.

- Slightly faster reading of events.
- Slightly faster reading of events in ``device.read()`` and ``device.read_one()``.

- Fix build on FreeBSD.
- Fix FreeBSD support.

- Drop deprecated ``InputDevice.fn`` (use ``InputDevice.path`` instead).

- More type hints.
- Improve type hint coverage and add a ``py.typed`` file to the sdist.


1.8.0 (Jan 25, 2025)
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = "1.8.0"
release = "1.9.0"

# The short X.Y version.
version = release
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "evdev"
version = "1.8.0"
version = "1.9.0"
description = "Bindings to the Linux input handling subsystem"
keywords = ["evdev", "input", "uinput"]
readme = "README.md"
Expand Down Expand Up @@ -36,7 +36,7 @@ line-length = 120
ignore = ["E265", "E241", "F403", "F401", "E401", "E731"]

[tool.bumpversion]
current_version = "1.8.0"
current_version = "1.9.0"
commit = true
tag = true
allow_dirty = true
Expand Down
4 changes: 2 additions & 2 deletions src/evdev/eventio.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import functools
import os
import select
from typing import Iterator
from typing import Iterator, Union

from . import _input, _uinput, ecodes
from .events import InputEvent
Expand Down Expand Up @@ -46,7 +46,7 @@ def read_loop(self) -> Iterator[InputEvent]:
for event in self.read():
yield event

def read_one(self) -> InputEvent:
def read_one(self) -> Union[InputEvent, None]:
"""
Read and return a single input event as an instance of
:class:`InputEvent <evdev.events.InputEvent>`.
Expand Down

0 comments on commit 7cb02b9

Please sign in to comment.