From 86f083aa79eccee486725c7decacf4d37f77324e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D0=BA=D0=BE=D1=81=20=D0=90=D1=80=D1=82=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B5=D0=B2=D0=B8?= =?UTF-8?q?=D1=87?= Date: Mon, 29 Jun 2026 12:31:34 +0700 Subject: [PATCH] chore(release): bump version to 1.6.0 Bump version from 1.5.0 to 1.6.0 in __init__.py and pyproject.toml. Update test_cli_version_flag to assert against the current package version instead of a hardcoded string. --- pyproject.toml | 2 +- redmine_reporter/__init__.py | 2 +- tests/test_cli.py | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index adf4c8f..7686e61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "redmine-reporter" -version = "1.5.0" +version = "1.6.0" description = "Redmine time-entry based issue reporter for internal use" readme = "README.md" authors = [{ name = "Artem Kokos", email = "artem-kokos@mail.ru" }] diff --git a/redmine_reporter/__init__.py b/redmine_reporter/__init__.py index 5b60188..e4adfb8 100644 --- a/redmine_reporter/__init__.py +++ b/redmine_reporter/__init__.py @@ -1 +1 @@ -__version__ = "1.5.0" +__version__ = "1.6.0" diff --git a/tests/test_cli.py b/tests/test_cli.py index 0be2e5b..8c7c617 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -127,7 +127,9 @@ def test_cli_version_flag(capsys): assert exc_info.value.code == 0 captured = capsys.readouterr() assert "redmine-reporter" in captured.out - assert "1.5.0" in captured.out + from redmine_reporter import __version__ + + assert __version__ in captured.out @mock.patch.dict(os.environ, VALID_ENV, clear=True)