From 891f410eda9365d3c43dc1ab970ed7abc61f0b4c Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Thu, 21 Mar 2024 16:26:08 -0700 Subject: [PATCH] Client: Release v3.0.5 (#12505) GitOrigin-RevId: 234963090902bef459e9491bfb4e39ee3ccb8c55 --- README.md | 8 ++++++++ descarteslabs/core/client/scripts/__main__.py | 6 +++++- descarteslabs/core/client/version.py | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e7ca60f..082b0767 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ The documentation for the latest release can be found at [https://docs.descartes Changelog ========= +## [3.0.5] - 2024-03-21 + +Bugfix only + +### General + +- The `descarteslabs` client CLI script generated by the installation process was broken. Now it works! + ## [3.0.4] - 2024-03-20 A very minor release with some obscure bug fixes. diff --git a/descarteslabs/core/client/scripts/__main__.py b/descarteslabs/core/client/scripts/__main__.py index 7474698d..e6a5b057 100644 --- a/descarteslabs/core/client/scripts/__main__.py +++ b/descarteslabs/core/client/scripts/__main__.py @@ -24,9 +24,13 @@ from descarteslabs.client.scripts.cli import cli -if __name__ == "__main__": +def main(): try: cli() except Exception as e: click.echo(f"{e.__class__.__name__}: {e}", err=True) sys.exit(1) + + +if __name__ == "__main__": + main() diff --git a/descarteslabs/core/client/version.py b/descarteslabs/core/client/version.py index b4e95e79..6b106438 100644 --- a/descarteslabs/core/client/version.py +++ b/descarteslabs/core/client/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "3.0.4" +__version__ = "3.0.5"