From 37ac719feda5a52b396d12856ad89481eb6fd106 Mon Sep 17 00:00:00 2001 From: "reportportal.io" Date: Mon, 13 Apr 2026 19:36:27 +0000 Subject: [PATCH 1/7] Changelog update --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb895a2..37e9879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] + +## [5.1.2] ### Added - Microseconds precision for timestamps, by @HardNorth ### Changed From 944f234e9bcbe59ad226599cc1d21eb511a3047c Mon Sep 17 00:00:00 2001 From: "reportportal.io" Date: Mon, 13 Apr 2026 19:36:28 +0000 Subject: [PATCH 2/7] Version update --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 312a345..a4d0354 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ from setuptools import setup -__version__ = "5.1.2" +__version__ = "5.1.3" def read_file(fname): From d1e814dc8d90dab94b60b309b2f3fbbad6265fb1 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Fri, 1 May 2026 10:19:38 +0300 Subject: [PATCH 3/7] Type fixes --- behave_reportportal/config.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/behave_reportportal/config.py b/behave_reportportal/config.py index 57c5f2b..ce66380 100644 --- a/behave_reportportal/config.py +++ b/behave_reportportal/config.py @@ -56,7 +56,7 @@ class Config(object): launch_name: str launch_description: Optional[str] launch_attributes: Optional[list[str]] - debug_mode: bool + debug_mode: Optional[bool] is_skipped_an_issue: bool retries: Optional[int] rerun: bool @@ -128,16 +128,17 @@ def __init__( self.launch_name = launch_name or DEFAULT_LAUNCH_NAME self.launch_description = launch_description - self.launch_attributes = launch_attributes and launch_attributes.split() - self.debug_mode = to_bool(debug_mode or "False") - self.is_skipped_an_issue = to_bool(is_skipped_an_issue or "False") + self.launch_attributes = launch_attributes.split() if launch_attributes else None + self.debug_mode = to_bool(debug_mode) + skipped_an_issue_bool = to_bool(is_skipped_an_issue) + self.is_skipped_an_issue = skipped_an_issue_bool if skipped_an_issue_bool is not None else True self.retries = int(retries) if retries is not None else None - self.rerun = to_bool(rerun or "False") + self.rerun = to_bool(rerun) or False self.rerun_of = rerun_of - self.log_batch_size = (log_batch_size and int(log_batch_size)) or 20 + self.log_batch_size = int(log_batch_size) if log_batch_size else 20 self.log_batch_payload_limit = ( - log_batch_payload_limit and int(log_batch_payload_limit) - ) or MAX_LOG_BATCH_PAYLOAD_SIZE + int(log_batch_payload_limit) if log_batch_payload_limit else MAX_LOG_BATCH_PAYLOAD_SIZE + ) if step_based and not log_layout: warn( @@ -159,7 +160,7 @@ def __init__( self.oauth_client_secret = oauth_client_secret self.oauth_scope = oauth_scope - self.launch_uuid_print = to_bool(launch_uuid_print or "False") + self.launch_uuid_print = to_bool(launch_uuid_print) or False launch_uuid_print_output_strip = launch_uuid_print_output.strip() if launch_uuid_print_output else "" self.launch_uuid_print_output = ( OutputType[launch_uuid_print_output_strip.upper()] if launch_uuid_print_output_strip else OutputType.STDOUT From 2d19a8c9f03caed405fc68fc6689fb35af7c9b24 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Fri, 1 May 2026 10:26:38 +0300 Subject: [PATCH 4/7] Fix tests --- tests/units/test_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/units/test_config.py b/tests/units/test_config.py index a880a3f..60e55d2 100644 --- a/tests/units/test_config.py +++ b/tests/units/test_config.py @@ -174,11 +174,11 @@ def test_read_config_default_values(mock_cp): expect(cfg.api_key is None) expect(cfg.project is None) expect(cfg.launch_name == DEFAULT_LAUNCH_NAME) - expect(cfg.debug_mode is False) + expect(cfg.debug_mode is None) expect(cfg.log_layout is LogLayout.SCENARIO) expect(cfg.launch_attributes is None) expect(cfg.launch_description is None) - expect(cfg.is_skipped_an_issue is False) + expect(cfg.is_skipped_an_issue is True) expect(cfg.retries is None) expect(cfg.rerun is False) expect(cfg.rerun_of is None) From 226adf225e94b6a856fec838a370cf9167024b6f Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Fri, 1 May 2026 10:33:37 +0300 Subject: [PATCH 5/7] Fix tests --- tests/units/test_rp_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/units/test_rp_agent.py b/tests/units/test_rp_agent.py index 765ff48..637a4ee 100644 --- a/tests/units/test_rp_agent.py +++ b/tests/units/test_rp_agent.py @@ -178,7 +178,7 @@ def test_create_rp_service_init(mock_rps): "A", "C", api_key="B", - is_skipped_an_issue=False, + is_skipped_an_issue=True, launch_uuid=None, retries=None, mode="DEFAULT", From ce436b88f2f082b79985f312882bdd5388c984a2 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Wed, 3 Jun 2026 11:11:10 +0300 Subject: [PATCH 6/7] Actions version update --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db7304b..56b8e15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Generate versions - uses: HardNorth/github-version-generate@v1 + uses: HardNorth/github-version-generate@daf138e2557c0bb49affe49bd7d79671dc8bfb3f with: version-source: file version-file: ${{ env.VERSION_FILE }} From b150ad521cbb1429a2ecbf28c54a3c7a4bbceec8 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Wed, 3 Jun 2026 11:11:26 +0300 Subject: [PATCH 7/7] Client version update --- CHANGELOG.md | 2 ++ requirements.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 37e9879..64fa796 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] +### Changed +- Client version updated on [5.7.6](https://github.com/reportportal/client-Python/releases/tag/5.7.6), by @HardNorth ## [5.1.2] ### Added diff --git a/requirements.txt b/requirements.txt index 899feeb..3730ab0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ behave==1.3.3 prettytable>=3.6.0, <=3.17.0 -reportportal-client==5.7.4 +reportportal-client==5.7.6