From 3a0814ce870aee59ad08bd135344d2b62e538e38 Mon Sep 17 00:00:00 2001 From: vsoch Date: Mon, 23 Oct 2023 15:53:41 -0600 Subject: [PATCH] bump change to 0.2.0 Signed-off-by: vsoch --- VERSION | 2 +- clients/python/CHANGELOG.md | 2 ++ clients/python/flux_restful_client/main/client.py | 2 +- clients/python/flux_restful_client/version.py | 2 +- clients/python/setup.py | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 7ac4e5e..0ea3a94 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.13 +0.2.0 diff --git a/clients/python/CHANGELOG.md b/clients/python/CHANGELOG.md index b78cb18..e0e4b82 100644 --- a/clients/python/CHANGELOG.md +++ b/clients/python/CHANGELOG.md @@ -14,6 +14,8 @@ and **Merged pull requests**. Critical items to know are: The versions coincide with releases on pip. Only major versions will be released as tags on Github. ## [0.0.x](https://github.com/flux-framework/flux-restful-api/tree/main) (0.0.x) + - Update to use newer versions of fastapi, etc (0.1.15) + - option_flags is a flat string list of values - Expose host to environment and bug fix for logs (0.1.14) - Ensure we update flux environment for user (0.1.13) - Add better multi-user mode - running jobs on behalf of user (0.1.12) diff --git a/clients/python/flux_restful_client/main/client.py b/clients/python/flux_restful_client/main/client.py index 48f21d5..dac4cdb 100644 --- a/clients/python/flux_restful_client/main/client.py +++ b/clients/python/flux_restful_client/main/client.py @@ -266,7 +266,7 @@ def submit(self, command, **kwargs): "envars", ]: # Assume if it's provided, period, the user wants to set it! - if optional == "option_flags": + if optional == "option_flags" and optional in kwargs: kwargs[optional] = utils.flatten_list(kwargs[optional]) if optional in kwargs: data[optional] = kwargs[optional] diff --git a/clients/python/flux_restful_client/version.py b/clients/python/flux_restful_client/version.py index 7fb8256..2cbef0a 100644 --- a/clients/python/flux_restful_client/version.py +++ b/clients/python/flux_restful_client/version.py @@ -1,4 +1,4 @@ -__version__ = "0.1.14" +__version__ = "0.2.0" AUTHOR = "Vanessa Sochat" EMAIL = "vsoch@users.noreply.github.com" NAME = "flux-restful-client" diff --git a/clients/python/setup.py b/clients/python/setup.py index effef9e..f30780c 100644 --- a/clients/python/setup.py +++ b/clients/python/setup.py @@ -88,7 +88,7 @@ def get_reqs(lookup=None, key="INSTALL_REQUIRES"): "Topic :: Software Development", "Topic :: Scientific/Engineering", "Operating System :: Unix", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], entry_points={ "console_scripts": [