Skip to content

Commit

Permalink
Merge pull request #62 from calgray/release-0.2.0
Browse files Browse the repository at this point in the history
Release 0.2.0
  • Loading branch information
calgray authored Jan 1, 2025
2 parents 0781bfb + 728a498 commit 05d725f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Version History

## 0.2.0

### Added<!--0.2.0-->

* Added support for python 3.13 with free threading.
* Added support for python 3.9 with nogil.
* Added support for providing explicit background executor to decorators.
* Added call and iterate benchmarks.

### Changed<!--0.2.0->

* Changed `call`, `iterate` and `generate` to higher-order-function decorators.

## 0.1.1

### Added<!--0.1.1-->

* Added `call`, `iterate` and `generate` functions.
* Added call benchmarks.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "athreading"
version = "0.1.2"
version = "0.2.0"
description = "Asynchronous threading package for Python"
readme = "README.md"
authors = ["Callan Gray <cal.j.gray@gmail.com>"]
Expand Down
2 changes: 1 addition & 1 deletion src/athreading/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .iterator import ThreadedAsyncIterator, iterate
from .type_aliases import AsyncGeneratorContext, AsyncIteratorContext

__version__ = "0.1.2"
__version__ = "0.2.0"


__all__ = (
Expand Down
10 changes: 7 additions & 3 deletions tests/unit/test_athreading.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
"""Tests for the main module."""

from importlib.metadata import version

from athreading import __version__

PACKAGE_VER = version("athreading")


def test_version():
"""Check that the version is acceptable."""
assert __version__ == "0.1.2"
def test_module_version():
"""Check that the module and package versions match."""
assert __version__ == PACKAGE_VER

0 comments on commit 05d725f

Please sign in to comment.