From a00b6c63f1cad44d54a1f0467a0193d9fd2fcddb Mon Sep 17 00:00:00 2001 From: Peter Boers Date: Tue, 23 Mar 2021 15:32:38 +0100 Subject: [PATCH] Bumped Nwa-stdlib, oauth2-lib --- .bumpversion.cfg | 2 +- orchestrator/__init__.py | 2 +- orchestrator/services/processes.py | 2 +- orchestrator/workflow.py | 2 +- pyproject.toml | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index b6ce7c977..d3d4b9eed 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.2rc6 +current_version = 0.0.2rc7 commit = False tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+)(?P\d+))? diff --git a/orchestrator/__init__.py b/orchestrator/__init__.py index e6c8575a7..82e265fa5 100644 --- a/orchestrator/__init__.py +++ b/orchestrator/__init__.py @@ -13,7 +13,7 @@ """This is the orchestrator workflow engine.""" -__version__ = "0.0.2rc6" +__version__ = "0.0.2rc7" from orchestrator.app import OrchestratorCore from orchestrator.settings import app_settings, oauth2_settings diff --git a/orchestrator/services/processes.py b/orchestrator/services/processes.py index 0900ed7b2..c469aa397 100644 --- a/orchestrator/services/processes.py +++ b/orchestrator/services/processes.py @@ -206,7 +206,7 @@ def _db_log_process_ex(pid: UUID, ex: Exception) -> None: if p.last_status != ProcessStatus.WAITING: p.last_status = ProcessStatus.FAILED p.failed_reason = str(ex) - p.traceback = show_ex(ex) + p.traceback = show_ex(ex) # type: ignore db.session.add(p) try: db.session.commit() diff --git a/orchestrator/workflow.py b/orchestrator/workflow.py index 570f54b63..3d45693de 100644 --- a/orchestrator/workflow.py +++ b/orchestrator/workflow.py @@ -529,7 +529,7 @@ def unwrap(self) -> S: >>> Complete('a').unwrap() 'a' """ - return self._fold(identity, identity, identity, identity, identity, identity, identity) + return self._fold(identity, identity, identity, identity, identity, identity, identity) # type: ignore def issuccess(self) -> bool: """Test if this instance is Success. diff --git a/pyproject.toml b/pyproject.toml index 0628b0e00..de668b8a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,8 +67,8 @@ requires = [ "structlog~=20.2.0", "typer-cli~=0.0.11", "uvicorn[standard]~=0.13.3", - "nwa-stdlib~=1.1.1", - "oauth2-lib~=1.0.1" + "nwa-stdlib~=1.1.2", + "oauth2-lib~=1.0.2" ] description-file = "README.md" requires-python = ">=3.6,<3.9"