Pykka Versions Save

🌀 Pykka makes it easier to build concurrent Python applications.

v4.0.2

3 months ago

Type hints

  • Make get_all() generic over the futures' type.

Development environment

  • Format with ruff format instead of black. (#210)

v4.0.1

7 months ago

Development environment

  • Update test suite to pass on Python 3.12 (#207)

v4.0.0

8 months ago

Breaking changes

  • Require block and timeout 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 typing ActorProxy 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

9 months ago

Breaking changes

  • Require block and timeout 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 typing ActorProxy 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)

v3.1.1

1 year ago

Bugfix release.

  • Installs from the source tarball using the setup.py file generated by Poetry installed setup.cfg and tox.ini into site-packages. The workaround for this was to simply not include those files in the source tarball. (Fixes: #172)

v3.1.0

1 year ago

Breaking changes

  • Remove support for Python 3.6. It reached end-of-life in December 2021. (PR: #159)

Bug fixes

  • Include docs, examples, and tests in the source release. (Fixes: #171)

Development environment

  • Require mypy 0.960 and use the latest typing features, as these seem to work nicely even on Python 3.7, given that the typing information is in separate *.pyi files and that you have a recent mypy version.

v3.0.2

2 years ago

Bugfix release.

  • Add support for Python 3.10. Tests are now run on Python 3.10 too. No other changes required.
  • Minor reorganization of docs.

v3.0.1

3 years ago

Bugfix release.

  • Use SPDX identifier for license in project metadata.
  • Remove upper version boundary for importlib_metadata. (Fixes: #131)

v3.0.0

3 years ago

Breaking changes

  • Remove support for Python 2.7. It reached end-of-life in January 2020. (PR: #87)
  • Remove support for Python 3.5. It reached end-of-life in September 2020. (PR: :#89)
  • Remove support for running actors on top of eventlet. This was deprecated in Pykka 2.0.3. (PR: #111)
  • Remove support for running actors on top of gevent. This was deprecated in Pykka 2.0.3 (PR: #111)
  • Remove support for automatically upgrading the internal message format used by Pykka < 2.0 to the message types used by Pykka >= 2.0. (PR: #88)

Features

  • Include complete type hint stubs for all public APIs in the PyPI distribution. (PR: #92)

Development environment

  • Remove PyPy from the test matrix. There are no known changes that should cause Pykka to stop working on PyPy, but we will no longer spend any effort to keep CI for PyPy running. (PR: #113)

v2.0.3

3 years ago

Bugfix release.

  • Mark eventlet and gevent support as deprecated. The support will be removed in Pykka 3.0.

    These were somewhat interesting ways to implement concurrency in Python when Pykka was conceived in 2011. Today, it is unclear it these libraries still have any mindshare or if keeping the support for them just adds an unnecessary burden to Pykka's maintenance.

  • Include Python 3.9 in the test matrix. (PR: #98)

  • Add missing None default value for the timeout keyword argument to pykka.eventlet.EventletEvent.wait(), so that it matches the threading.Event API. (PR: #91)