Skip to content

Commit

Permalink
Bump versions and changelog for release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmello committed Aug 9, 2023
1 parent 0b0892a commit 830f024
Show file tree
Hide file tree
Showing 16 changed files with 201 additions and 158 deletions.
38 changes: 0 additions & 38 deletions changelog.d/20230718_143645_chris_batchv3.rst

This file was deleted.

14 changes: 0 additions & 14 deletions changelog.d/20230720_143409_30907815+rjmello_self_diagnostic.rst

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions changelog.d/20230725_113122_chris_batch_selectable_ser.rst

This file was deleted.

40 changes: 0 additions & 40 deletions changelog.d/20230725_150822_chris_cleanup_client_init.rst

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions changelog.d/20230802_150602_yadudoc1729_fix_missing_script_dir.rst

This file was deleted.

2 changes: 1 addition & 1 deletion compute_endpoint/globus_compute_endpoint/version.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion compute_endpoint/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion compute_funcx/endpoint/funcx_endpoint/version.py
Original file line number Diff line number Diff line change
@@ -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__

Expand Down
2 changes: 1 addition & 1 deletion compute_funcx/endpoint/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
2 changes: 1 addition & 1 deletion compute_funcx/sdk/funcx/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion compute_funcx/sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import find_packages, setup

REQUIRES = [
"globus-compute-sdk==2.3.0a0",
"globus-compute-sdk==2.3.0",
]


Expand Down
2 changes: 1 addition & 1 deletion compute_sdk/globus_compute_sdk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
97 changes: 97 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 830f024

Please sign in to comment.