From 31f2873e3e06c4e70bef1777ea65d3c492a9042b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 22:14:43 +0000 Subject: [PATCH] Release v3.86.1 (#3780) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- cumulusci/__about__.py | 2 +- cumulusci/core/runtime.py | 3 ++- cumulusci/utils/xml/robot_xml.py | 5 +++-- docs/history.md | 10 ++++++++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/cumulusci/__about__.py b/cumulusci/__about__.py index 9151235765..dbed652c2b 100644 --- a/cumulusci/__about__.py +++ b/cumulusci/__about__.py @@ -1 +1 @@ -__version__ = "3.86.0" +__version__ = "3.86.1" diff --git a/cumulusci/core/runtime.py b/cumulusci/core/runtime.py index 51d05a3e16..d5b2ce3459 100644 --- a/cumulusci/core/runtime.py +++ b/cumulusci/core/runtime.py @@ -83,7 +83,8 @@ def _load_project_config(self, *args, **kwargs): self.project_config = self.project_config_cls( self.universal_config, *args, **kwargs ) - self.project_config._add_tasks_directory_to_python_path() + if self.project_config is not None: + self.project_config._add_tasks_directory_to_python_path() def _load_keychain(self): if self.keychain is not None: diff --git a/cumulusci/utils/xml/robot_xml.py b/cumulusci/utils/xml/robot_xml.py index 06a8c20423..09658b504d 100644 --- a/cumulusci/utils/xml/robot_xml.py +++ b/cumulusci/utils/xml/robot_xml.py @@ -1,7 +1,7 @@ import re from typing import Callable, Dict, NamedTuple -from robot.api import ExecutionResult, ResultVisitor +from robot.api import ExecutionResult, ResultVisitor # type: ignore from robot.result.model import TestCase UNITS = { @@ -53,7 +53,8 @@ def log_perf_summary_from_xml( Supply a formatter that takes a PerfSummary triple if the default isn't a good fit: - f(test_name: str, metrics: Dict[str, float], test: robot.result.model.TestCase)""" + f(test_name: str, metrics: Dict[str, float], test: robot.result.model.TestCase) + """ result = ExecutionResult(robot_xml) pl = _perf_logger(logger_func, formatter_func) next(pl) # start the generator diff --git a/docs/history.md b/docs/history.md index 46c2a056bb..17dcf91a05 100644 --- a/docs/history.md +++ b/docs/history.md @@ -2,6 +2,14 @@ +## v3.86.1 (2024-05-06) + + + +**Full Changelog**: https://github.com/SFDO-Tooling/CumulusCI/compare/v3.86.0...v3.86.1 + + + ## v3.86.0 (2024-03-27) @@ -14,8 +22,6 @@ **Full Changelog**: https://github.com/SFDO-Tooling/CumulusCI/compare/v3.85.0...v3.86.0 - - ## v3.85.0 (2024-03-13)