From 0f72e329fdb271fd91c0cf6d5b90040752504f77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20G=C3=B3recki?= Date: Sun, 17 Mar 2024 23:40:29 +0100 Subject: [PATCH] Release 0.10.0 --- .github/workflows/release.yml | 6 +++--- .github/workflows/tests.yml | 5 ++++- lato/__init__.py | 1 + pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 074aa31..2e04842 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.9" - name: Install Poetry run: | @@ -40,7 +40,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} draft: false prerelease: steps.check-version.outputs.prerelease == 'true' - + - name: Publish to PyPI env: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e5e3274..15aba5e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -72,4 +72,7 @@ jobs: run: poetry run python -m pytest -p no:sugar -q tests/ - name: Run mypy - run: poetry run mypy lato \ No newline at end of file + run: poetry run mypy lato + + - name: Run doctest + run: poetry pytest --doctest-modules lato \ No newline at end of file diff --git a/lato/__init__.py b/lato/__init__.py index fa123a3..340bad4 100644 --- a/lato/__init__.py +++ b/lato/__init__.py @@ -9,6 +9,7 @@ from .message import Command, Event, Query from .transaction_context import TransactionContext +__version__ = "0.10.0" __all__ = [ "Application", "ApplicationModule", diff --git a/pyproject.toml b/pyproject.toml index 39cd24b..e21c27a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lato" -version = "0.10" +version = "0.10.0" description = "Lato is a Python microframework designed for building modular monoliths and loosely coupled applications." authors = ["Przemysław Górecki "] readme = "README.md"