Releases: jodal/pykka
Releases · jodal/pykka
v4.4.0
v4.3.0
Breaking changes
- Remove support for Python 3.9 as it reaches end-of-life next month (by @jodal in #238)
- Only allow one of
Future
'sset()
,set_exception()
, andset_get_hook()
methods to be called (by @jodal in #240)
Changes
- Change
ThreadingFuture[T]
to use athreading.Condition
instead ofqueue.Queue
(by @mpdetwiler in #233) - Only call future hook once, even if it returns
None
(by @jodal in #239) - Use the standard library's
tomllib
in the docs build on Python 3.11+, removing a dependency omtomli
(by @a-detiste in #237)
New Contributors
- @a-detiste made their first contribution in #237
- @mpdetwiler made their first contribution in #233
Full Changelog: v4.2.0...v4.3.0
v4.2.0
This release has no changes for users, only for distribution packagers.
Changes
- Switched build backend from
poetry
tohatchling
. - Switched the docs build from using the
toml
library to the better maintainedtomli
library. - Development is now done using
uv
andtox-uv
, but you should not needuv
to packagepykka
. - Updated some dev tooling, including
ruff
andpyright
.
v4.1.2
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
Breaking changes
- Require
block
andtimeout
arguments to always be keyword arguments. (PR: #198) - Remove support for Python 3.7. It reached end-of-life in June 2023. (PR: #190)
Features
- Type hints: All typing stubs have been inlined in the source code and have been greatly improved. They are now tested using both Mypy and Pyright. (PR: #192, #193, #195)
- Type hints: Due to the dynamic nature of
ActorProxy
objects, it is impossible to automatically type them correctly.pykka.typing
is a new module with helpers for manually typingActorProxy
objects. Check out the docs for how to use the helpers. (PR: #199)
Development environment
- Linting: Replace flake8, isort, and friends with ruff. (PR: #190)
v4.0.0rc1
Breaking changes
- Require
block
andtimeout
arguments to always be keyword arguments. (PR: #198) - Remove support for Python 3.7. It reached end-of-life in June 2023. (PR: #190)
Features
- Type hints: All typing stubs have been inlined in the source code and have been greatly improved. They are now tested using both Mypy and Pyright. (PR: #192, #193, #195)
- Type hints: Due to the dynamic nature of
ActorProxy
objects, it is impossible to automatically type them correctly.pykka.typing
is a new module with helpers for manually typingActorProxy
objects. Check out the docs for how to use the helpers. (PR: #199)
Development environment
- Linting: Replace flake8, isort, and friends with ruff. (PR: #190)