From 830f024e85fe0a47cc1119666314836de0471418 Mon Sep 17 00:00:00 2001 From: Reid Mello <30907815+rjmello@users.noreply.github.com> Date: Wed, 9 Aug 2023 15:41:42 -0400 Subject: [PATCH] Bump versions and changelog for release v2.3.0 --- changelog.d/20230718_143645_chris_batchv3.rst | 38 -------- ...43409_30907815+rjmello_self_diagnostic.rst | 14 --- ...obus_registration_blocked_msg_sc_25245.rst | 8 -- ...0725_113122_chris_batch_selectable_ser.rst | 8 -- ...30725_150822_chris_cleanup_client_init.rst | 40 -------- ...kevin_avoid_possible_tg_race_condition.rst | 6 -- ...602_yadudoc1729_fix_missing_script_dir.rst | 37 ------- .../globus_compute_endpoint/version.py | 2 +- compute_endpoint/setup.py | 2 +- .../endpoint/funcx_endpoint/version.py | 2 +- compute_funcx/endpoint/setup.py | 2 +- compute_funcx/sdk/funcx/version.py | 2 +- compute_funcx/sdk/setup.py | 2 +- compute_sdk/globus_compute_sdk/version.py | 2 +- docs/changelog.rst | 97 +++++++++++++++++++ docs/changelog_funcx.rst | 97 +++++++++++++++++++ 16 files changed, 201 insertions(+), 158 deletions(-) delete mode 100644 changelog.d/20230718_143645_chris_batchv3.rst delete mode 100644 changelog.d/20230720_143409_30907815+rjmello_self_diagnostic.rst delete mode 100644 changelog.d/20230724_145257_LeiGlobus_registration_blocked_msg_sc_25245.rst delete mode 100644 changelog.d/20230725_113122_chris_batch_selectable_ser.rst delete mode 100644 changelog.d/20230725_150822_chris_cleanup_client_init.rst delete mode 100644 changelog.d/20230731_100321_kevin_avoid_possible_tg_race_condition.rst delete mode 100644 changelog.d/20230802_150602_yadudoc1729_fix_missing_script_dir.rst diff --git a/changelog.d/20230718_143645_chris_batchv3.rst b/changelog.d/20230718_143645_chris_batchv3.rst deleted file mode 100644 index 30f6f48d1..000000000 --- a/changelog.d/20230718_143645_chris_batchv3.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -.. -.. New Functionality -.. ^^^^^^^^^^^^^^^^^ -.. -.. - A bullet item for the New Functionality category. -.. - -Removed -^^^^^^^ - -- When submitting functions, it is no longer possible to specify a ``task_group_id`` - which does not already exist on the services. If this happens, the services will - respond with an error. - - - Note that it is still possible to associate a task with an existing - ``task_group_id``, with the correct authorization. - -Changed -^^^^^^^ - -- Following the updated route and schema of the ``submit`` route - (``v3/endpoint/ENDPOINT_UUID/submit``), tasks in a batch are now associated - with a single endpoint and the endpoint is selected via the route at - submission time. (Previously, tasks within a batch could be sent to - heterogeneous endpoints.) - - - The signature of ``Client.create_batch`` has been adjusted to match. - - - The signature of ``WebClient.submit`` has been adjusted to match - -- The return type of ``Client.batch_run`` has been updated to reflect the schema returned - by the ``v3/submit`` route of the Compute API. - - - Concretely, ``Client.batch_run`` now returns a dictionary with information such as - task group ID, submission ID, and a mapping of function IDs to lists of task IDs. diff --git a/changelog.d/20230720_143409_30907815+rjmello_self_diagnostic.rst b/changelog.d/20230720_143409_30907815+rjmello_self_diagnostic.rst deleted file mode 100644 index 7bfea55a5..000000000 --- a/changelog.d/20230720_143409_30907815+rjmello_self_diagnostic.rst +++ /dev/null @@ -1,14 +0,0 @@ -New Functionality -^^^^^^^^^^^^^^^^^ - -- Added a ``globus-compute-endpoint self-diagnostic`` command, which runs several - diagnostic commands to help users and Globus Support troubleshoot issues. - - By default, all output prints to the terminal. The ``--gzip`` (or ``-z``) flag - redirects the output to a Gzip-compressed file that the user can easily share - with Globus Support. - - Endpoint log files can be quite large, so we cap the data taken from each file - at 5,120 KB (5 MB). A user can modify this with the ``--log-kb`` option. For - example, if a user wants to include 1,024 KB (1 MB) of data per log file, they - would use ``--log-kb 1024``. diff --git a/changelog.d/20230724_145257_LeiGlobus_registration_blocked_msg_sc_25245.rst b/changelog.d/20230724_145257_LeiGlobus_registration_blocked_msg_sc_25245.rst deleted file mode 100644 index 82aca1696..000000000 --- a/changelog.d/20230724_145257_LeiGlobus_registration_blocked_msg_sc_25245.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -.. -Bug Fixes -^^^^^^^^^ - -- Previously, starting an endpoint when it is already active or is currently locked will exit silently when ``globus-compute-endpoint start`` is run, with the only information available as a log line in endpoint.log. Now, if start fails, a console message will display the reason on the command line. diff --git a/changelog.d/20230725_113122_chris_batch_selectable_ser.rst b/changelog.d/20230725_113122_chris_batch_selectable_ser.rst deleted file mode 100644 index 8c39caf14..000000000 --- a/changelog.d/20230725_113122_chris_batch_selectable_ser.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -Bug Fixes -^^^^^^^^^ - -- The ``data_serialization_strategy`` argument of ``Client`` is now properly respected - when creating batches diff --git a/changelog.d/20230725_150822_chris_cleanup_client_init.rst b/changelog.d/20230725_150822_chris_cleanup_client_init.rst deleted file mode 100644 index 18bfc6555..000000000 --- a/changelog.d/20230725_150822_chris_cleanup_client_init.rst +++ /dev/null @@ -1,40 +0,0 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -.. - -Removed -^^^^^^^ - -- The following arguments to ``Client``, which were previously deprecated, have been - removed: - - - ``asynchronous`` - - - ``loop`` - - - ``results_ws_uri`` - - - ``warn_about_url_mismatch`` - - - ``openid_authorizer`` - - - ``search_authorizer`` - - - ``fx_authorizer`` - -- Various internal classes relating to the former "asynchronous" mode of operating the - ``Client``, such as ``WebSocketPollingTask`` and ``AtomicController``, have been - removed alongside the removal of the ``asynchronous`` argument to the ``Client``. - -Deprecated -^^^^^^^^^^ - -- The following arguments to ``Client``, which were previously unused, have been deprecated: - - - ``http_timeout`` - - - ``funcx_home`` - -- The ``task_group_id`` argument to ``Client`` has been deprecated as a result of the - new Task Group behavior. diff --git a/changelog.d/20230731_100321_kevin_avoid_possible_tg_race_condition.rst b/changelog.d/20230731_100321_kevin_avoid_possible_tg_race_condition.rst deleted file mode 100644 index bfcf40c8e..000000000 --- a/changelog.d/20230731_100321_kevin_avoid_possible_tg_race_condition.rst +++ /dev/null @@ -1,6 +0,0 @@ -Bug Fixes -^^^^^^^^^ - -- For those who use multiple task groups, address race-condition where tasks - could be mis-associated. - diff --git a/changelog.d/20230802_150602_yadudoc1729_fix_missing_script_dir.rst b/changelog.d/20230802_150602_yadudoc1729_fix_missing_script_dir.rst deleted file mode 100644 index b069bafae..000000000 --- a/changelog.d/20230802_150602_yadudoc1729_fix_missing_script_dir.rst +++ /dev/null @@ -1,37 +0,0 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -.. -.. New Functionality -.. ^^^^^^^^^^^^^^^^^ -.. -.. - A bullet item for the New Functionality category. -.. -Bug Fixes -^^^^^^^^^ - -- Fixes a bug where the `globus_compute_endpoint.engines.GlobusComputeEngine` sets - the stdout and stderr capture filepaths incorrectly on the Providers, causing batch - jobs to fail. - -.. -.. Removed -.. ^^^^^^^ -.. -.. - A bullet item for the Removed category. -.. -.. Deprecated -.. ^^^^^^^^^^ -.. -.. - A bullet item for the Deprecated category. -.. -.. Changed -.. ^^^^^^^ -.. -.. - A bullet item for the Changed category. -.. -.. Security -.. ^^^^^^^^ -.. -.. - A bullet item for the Security category. -.. diff --git a/compute_endpoint/globus_compute_endpoint/version.py b/compute_endpoint/globus_compute_endpoint/version.py index 46c1e3b78..7792427d7 100644 --- a/compute_endpoint/globus_compute_endpoint/version.py +++ b/compute_endpoint/globus_compute_endpoint/version.py @@ -1,6 +1,6 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/single_source_version/ -__version__ = "2.3.0a0" +__version__ = "2.3.0" # TODO: remove after a `globus-compute-sdk` release # this is needed because it's imported by `globus-compute-sdk` to do the version check diff --git a/compute_endpoint/setup.py b/compute_endpoint/setup.py index dd75a30d9..fcb172ce4 100644 --- a/compute_endpoint/setup.py +++ b/compute_endpoint/setup.py @@ -6,7 +6,7 @@ REQUIRES = [ "requests>=2.20.0,<3", "globus-sdk", # version will be bounded by `globus-compute-sdk` - "globus-compute-sdk==2.3.0a0", + "globus-compute-sdk==2.3.0", "globus-compute-common==0.2.0", # table printing used in list-endpoints "texttable>=1.6.4,<2", diff --git a/compute_funcx/endpoint/funcx_endpoint/version.py b/compute_funcx/endpoint/funcx_endpoint/version.py index 9d4e23a23..c43956ad7 100644 --- a/compute_funcx/endpoint/funcx_endpoint/version.py +++ b/compute_funcx/endpoint/funcx_endpoint/version.py @@ -1,6 +1,6 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/single_source_version/ -__version__ = "2.3.0a0" +__version__ = "2.3.0" VERSION = __version__ diff --git a/compute_funcx/endpoint/setup.py b/compute_funcx/endpoint/setup.py index 5052a4f90..84ca9df67 100644 --- a/compute_funcx/endpoint/setup.py +++ b/compute_funcx/endpoint/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup REQUIRES = [ - "globus-compute-endpoint==2.3.0a0", + "globus-compute-endpoint==2.3.0", ] version_ns = {} diff --git a/compute_funcx/sdk/funcx/version.py b/compute_funcx/sdk/funcx/version.py index d1e7d5936..00dfb3ae7 100644 --- a/compute_funcx/sdk/funcx/version.py +++ b/compute_funcx/sdk/funcx/version.py @@ -3,7 +3,7 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/single_source_version/ -__version__ = "2.3.0a0" +__version__ = "2.3.0" DEPRECATION_FUNCX = """ The funcX SDK has been renamed to Globus Compute SDK and the new package is diff --git a/compute_funcx/sdk/setup.py b/compute_funcx/sdk/setup.py index 6cffa953c..51fe52b2e 100644 --- a/compute_funcx/sdk/setup.py +++ b/compute_funcx/sdk/setup.py @@ -5,7 +5,7 @@ from setuptools import find_packages, setup REQUIRES = [ - "globus-compute-sdk==2.3.0a0", + "globus-compute-sdk==2.3.0", ] diff --git a/compute_sdk/globus_compute_sdk/version.py b/compute_sdk/globus_compute_sdk/version.py index c0bd5734a..9931e25af 100644 --- a/compute_sdk/globus_compute_sdk/version.py +++ b/compute_sdk/globus_compute_sdk/version.py @@ -3,7 +3,7 @@ # single source of truth for package version, # see https://packaging.python.org/en/latest/single_source_version/ -__version__ = "2.3.0a0" +__version__ = "2.3.0" def compare_versions( diff --git a/docs/changelog.rst b/docs/changelog.rst index fe12a4172..e65a60db1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,103 @@ Changelog .. scriv-insert-here +.. _changelog-2.3.0: + +globus-compute-sdk & globus-compute-endpoint v2.3.0 +--------------------------------------------------- + +New Functionality +^^^^^^^^^^^^^^^^^ + +- Added a ``globus-compute-endpoint self-diagnostic`` command, which runs several + diagnostic commands to help users and Globus Support troubleshoot issues. + + By default, all output prints to the terminal. The ``--gzip`` (or ``-z``) flag + redirects the output to a Gzip-compressed file that the user can easily share + with Globus Support. + + Endpoint log files can be quite large, so we cap the data taken from each file + at 5,120 KB (5 MB). A user can modify this with the ``--log-kb`` option. For + example, if a user wants to include 1,024 KB (1 MB) of data per log file, they + would use ``--log-kb 1024``. + +Bug Fixes +^^^^^^^^^ + +- Previously, starting an endpoint when it is already active or is currently locked will exit silently when ``globus-compute-endpoint start`` is run, with the only information available as a log line in endpoint.log. Now, if start fails, a console message will display the reason on the command line. + +- The ``data_serialization_strategy`` argument of ``Client`` is now properly respected + when creating batches + +- For those who use multiple task groups, address race-condition where tasks + could be mis-associated. + +- Fixes a bug where the `globus_compute_endpoint.engines.GlobusComputeEngine` sets + the stdout and stderr capture filepaths incorrectly on the Providers, causing batch + jobs to fail. + +Removed +^^^^^^^ + +- When submitting functions, it is no longer possible to specify a ``task_group_id`` + which does not already exist on the services. If this happens, the services will + respond with an error. + + - Note that it is still possible to associate a task with an existing + ``task_group_id``, with the correct authorization. + +- The following arguments to ``Client``, which were previously deprecated, have been + removed: + + - ``asynchronous`` + + - ``loop`` + + - ``results_ws_uri`` + + - ``warn_about_url_mismatch`` + + - ``openid_authorizer`` + + - ``search_authorizer`` + + - ``fx_authorizer`` + +- Various internal classes relating to the former "asynchronous" mode of operating the + ``Client``, such as ``WebSocketPollingTask`` and ``AtomicController``, have been + removed alongside the removal of the ``asynchronous`` argument to the ``Client``. + +Deprecated +^^^^^^^^^^ + +- The following arguments to ``Client``, which were previously unused, have been deprecated: + + - ``http_timeout`` + + - ``funcx_home`` + +- The ``task_group_id`` argument to ``Client`` has been deprecated as a result of the + new Task Group behavior. + +Changed +^^^^^^^ + +- Following the updated route and schema of the ``submit`` route + (``v3/endpoint/ENDPOINT_UUID/submit``), tasks in a batch are now associated + with a single endpoint and the endpoint is selected via the route at + submission time. (Previously, tasks within a batch could be sent to + heterogeneous endpoints.) + + - The signature of ``Client.create_batch`` has been adjusted to match. + + - The signature of ``WebClient.submit`` has been adjusted to match + +- The return type of ``Client.batch_run`` has been updated to reflect the schema returned + by the ``v3/submit`` route of the Compute API. + + - Concretely, ``Client.batch_run`` now returns a dictionary with information such as + task group ID, submission ID, and a mapping of function IDs to lists of task IDs. + .. _changelog-2.2.4: globus-compute-sdk & globus-compute-endpoint v2.2.4 diff --git a/docs/changelog_funcx.rst b/docs/changelog_funcx.rst index f3a4c9e5a..460a9a92b 100644 --- a/docs/changelog_funcx.rst +++ b/docs/changelog_funcx.rst @@ -3,6 +3,103 @@ Changelog .. scriv-insert-here +.. _changelog-2.3.0: + +funcx & funcx-endpoint v2.3.0 +--------------------------------------------------- + +New Functionality +^^^^^^^^^^^^^^^^^ + +- Added a ``globus-compute-endpoint self-diagnostic`` command, which runs several + diagnostic commands to help users and Globus Support troubleshoot issues. + + By default, all output prints to the terminal. The ``--gzip`` (or ``-z``) flag + redirects the output to a Gzip-compressed file that the user can easily share + with Globus Support. + + Endpoint log files can be quite large, so we cap the data taken from each file + at 5,120 KB (5 MB). A user can modify this with the ``--log-kb`` option. For + example, if a user wants to include 1,024 KB (1 MB) of data per log file, they + would use ``--log-kb 1024``. + +Bug Fixes +^^^^^^^^^ + +- Previously, starting an endpoint when it is already active or is currently locked will exit silently when ``globus-compute-endpoint start`` is run, with the only information available as a log line in endpoint.log. Now, if start fails, a console message will display the reason on the command line. + +- The ``data_serialization_strategy`` argument of ``Client`` is now properly respected + when creating batches + +- For those who use multiple task groups, address race-condition where tasks + could be mis-associated. + +- Fixes a bug where the `globus_compute_endpoint.engines.GlobusComputeEngine` sets + the stdout and stderr capture filepaths incorrectly on the Providers, causing batch + jobs to fail. + +Removed +^^^^^^^ + +- When submitting functions, it is no longer possible to specify a ``task_group_id`` + which does not already exist on the services. If this happens, the services will + respond with an error. + + - Note that it is still possible to associate a task with an existing + ``task_group_id``, with the correct authorization. + +- The following arguments to ``Client``, which were previously deprecated, have been + removed: + + - ``asynchronous`` + + - ``loop`` + + - ``results_ws_uri`` + + - ``warn_about_url_mismatch`` + + - ``openid_authorizer`` + + - ``search_authorizer`` + + - ``fx_authorizer`` + +- Various internal classes relating to the former "asynchronous" mode of operating the + ``Client``, such as ``WebSocketPollingTask`` and ``AtomicController``, have been + removed alongside the removal of the ``asynchronous`` argument to the ``Client``. + +Deprecated +^^^^^^^^^^ + +- The following arguments to ``Client``, which were previously unused, have been deprecated: + + - ``http_timeout`` + + - ``funcx_home`` + +- The ``task_group_id`` argument to ``Client`` has been deprecated as a result of the + new Task Group behavior. + +Changed +^^^^^^^ + +- Following the updated route and schema of the ``submit`` route + (``v3/endpoint/ENDPOINT_UUID/submit``), tasks in a batch are now associated + with a single endpoint and the endpoint is selected via the route at + submission time. (Previously, tasks within a batch could be sent to + heterogeneous endpoints.) + + - The signature of ``Client.create_batch`` has been adjusted to match. + + - The signature of ``WebClient.submit`` has been adjusted to match + +- The return type of ``Client.batch_run`` has been updated to reflect the schema returned + by the ``v3/submit`` route of the Compute API. + + - Concretely, ``Client.batch_run`` now returns a dictionary with information such as + task group ID, submission ID, and a mapping of function IDs to lists of task IDs. + .. _changelog-2.2.4: funcx & funcx-endpoint v2.2.4