From cc35786a99d79260da3ecb04b5966104756809f2 Mon Sep 17 00:00:00 2001 From: maskboyAvi Date: Wed, 4 Oct 2023 11:06:33 +0530 Subject: [PATCH 1/3] Fix: #1785 Added covalent version attribute to Remote Executors --- covalent/executor/executor_plugins/remote_executor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/covalent/executor/executor_plugins/remote_executor.py b/covalent/executor/executor_plugins/remote_executor.py index 9a9f0cdb5..b68a6ca1a 100644 --- a/covalent/executor/executor_plugins/remote_executor.py +++ b/covalent/executor/executor_plugins/remote_executor.py @@ -40,6 +40,7 @@ "poll_freq": 15, "remote_cache": ".cache/covalent", "credentials_file": "", + "covalent_version": "0.228.0-rc.0", } @@ -58,6 +59,7 @@ def __init__( poll_freq: int = 15, remote_cache: str = "", credentials_file: str = "", + covalent_version: str = "0.228.0-rc.0", **kwargs, ) -> None: super().__init__(**kwargs) @@ -65,6 +67,7 @@ def __init__( self.poll_freq = poll_freq self.remote_cache = remote_cache self.credentials_file = credentials_file + self.covalent_version = covalent_version @abstractmethod async def _validate_credentials(self) -> bool: From fef0c8e79a34dc43f44268bd97d4d1b8e883ebe5 Mon Sep 17 00:00:00 2001 From: maskboyAvi Date: Wed, 4 Oct 2023 11:25:27 +0530 Subject: [PATCH 2/3] Updated Changelog.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 759bb5c1a..31985d52b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Added covalent version attribute to Remote Executors - Removed unassigned variable names - Contributing guidelines steps for installing for the first time - Updated gitignore to ignore yarn files and folders for latest version of yarn @@ -19,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed `actions/checkout@v3` to `actions/checkout@v4` in CI - Dependabot update to npm in changelog action - Update tough-cookie to 4.1.3 version -- Added rich support to cli for better printing statements. +- Added rich support to cli for better printing statements. - Changed semver from 5.7.1 to 5.7.2 in package.json - Updated word-wrap to 1.2.4 version @@ -53,7 +54,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Co-authored-by: Prasanna Venkatesh <54540812+Prasy12@users.noreply.github.com> - FilipBolt - ### Fixed - Formatted executor block under Qelectron job details to handle any class-type values @@ -87,7 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Docs -- Fix autodoc for SSH, Slurm, AWS Braket, AWS Lambda, AWS EC2, AWS Batch, Google Batch +- Fix autodoc for SSH, Slurm, AWS Braket, AWS Lambda, AWS EC2, AWS Batch, Google Batch - Updated documentation links in README - Added tutorial for redispatching workflows with Streamlit From a714803020434c7a4fcb1fb8ca0d3b2a7c0a64ae Mon Sep 17 00:00:00 2001 From: maskboyAvi Date: Wed, 4 Oct 2023 21:32:38 +0530 Subject: [PATCH 3/3] Update #!785 Set the default value of covalent_version to Empty --- covalent/executor/executor_plugins/remote_executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/covalent/executor/executor_plugins/remote_executor.py b/covalent/executor/executor_plugins/remote_executor.py index b68a6ca1a..65b638e6f 100644 --- a/covalent/executor/executor_plugins/remote_executor.py +++ b/covalent/executor/executor_plugins/remote_executor.py @@ -40,7 +40,7 @@ "poll_freq": 15, "remote_cache": ".cache/covalent", "credentials_file": "", - "covalent_version": "0.228.0-rc.0", + "covalent_version": "", } @@ -59,7 +59,7 @@ def __init__( poll_freq: int = 15, remote_cache: str = "", credentials_file: str = "", - covalent_version: str = "0.228.0-rc.0", + covalent_version: str = "", **kwargs, ) -> None: super().__init__(**kwargs)