Skip to content

Releases: globus/globus-compute

2.28.0

02 Oct 16:53
Compare
Choose a tag to compare

New Functionality

  • The multi-user endpoint now saves user-endpoint standard file streams (aka stdout and stderr) to the UEP's endpoint.log. This makes it much easier to identity implementation missteps that affect the early UEP boot process, before the UEP's logging is bootstrapped.

  • The SDK Client and WebClient now support using a GlobusApp for authentication. For standard interactive login flows, users can leave the app argument blank when initializing the Client, or pass in a custom UserApp. For client authentication, users can leave the app argument blank and set the GLOBUS_COMPUTE_CLIENT_ID and GLOBUS_COMPUTE_CLIENT_SECRET environment variables, or pass in a custom ClientApp.

    For more information on how to use a GlobusApp, see the Globus SDK documentation.

    Users can still pass in a custom LoginManager to the login_manager argument, but this is mutually exclusive with the app argument.

    E.g.,

     from globus_compute_sdk import Client
     from globus_sdk.experimental.globus_app import UserApp
    
     gcc = Client()
    
     # or
    
     my_app = UserApp("my-app", client_id="...")
     gcc = Client(app=my_app)
  • Added a new data serialization strategy, JSONData, which serializes/deserializes function args and kwargs via JSON. Usage example:

    from globus_compute_sdk import Client, Executor
    from globus_compute_sdk.serialize import JSONData
    
    gcc = Client(
        data_serialization_strategy=JSONData()
    )
    
    with Executor(<your endpoint UUID>, client=gcc) as gcx:
        # do something with gcx

Bug Fixes

  • We no longer raise an exception if a user defines the GLOBUS_COMPUTE_CLIENT_ID environment variable without defining GLOBUS_COMPUTE_SECRET_KEY. The reverse, however, will still raise an exception.

Removed

  • Removed http_timeout, funcx_home, and task_group_id arguments to Client, that were previously deprecated in v2.3.0. (Aug 2023)

Deprecated

  • The WebClient.user_app_name attribute has been marked for deprecation and will be removed in a future release. Please directly use WebClient.app_name instead.

Changed

  • Bumped parsl dependency version to 2024.9.9.

2.27.1

22 Aug 03:48
2.27.1
Compare
Choose a tag to compare

What's Changed

2.27.0

21 Aug 18:27
2.27.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.26.0...2.27.0

2.26.0

14 Aug 17:43
2.26.0
Compare
Choose a tag to compare

What's Changed

  • Bump parsl dependency to v2024.8.5 by @rjmello in #1618
  • Update K8s example to use GlobusComputeEngine by @rjmello in #1620
  • Raise error for provider w/ internal container mgmt by @rjmello in #1619

Full Changelog: 2.25.0...2.26.0

2.22.0

20 Jun 15:43
2.22.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.21.0...2.22.0

2.19.0

25 Apr 18:50
d779b69
Compare
Choose a tag to compare

What's Changed

  • Expand pyzmq supported versions to <27.0.0 by @rjmello in #1528
  • Raise error for incompatible engine and strategy by @rjmello in #1540

2.18.1

11 Apr 19:44
Compare
Choose a tag to compare

Bug Fixes

  • Fixed a bug that caused endpoints using the old HighThroughputExecutor to fail silently.

2.18.0

10 Apr 17:18
Compare
Choose a tag to compare

New Functionality

  • Added GLOBUS_COMPUTE_CLIENT_ID and GLOBUS_COMPUTE_CLIENT_SECRET environment variables to configure client logins.

Bug Fixes

  • Fixed a bug in GlobusComputeEngine where a faulty endpoint-config could result in the endpoint repeatedly submitting jobs to the batch scheduler. The endpoint will not shut down, reporting the root cause in endpoint.log
  • Fixed bug where GlobusComputeEngine lost track of submitted jobs that failed to have workers connect back. The endpoint will now report a fault if multiple jobs have failed to connect back and shutdown, tasks submitted to the endpoint will return an exception.

Deprecated

  • FUNCX_SDK_CLIENT_ID and FUNCX_SDK_CLIENT_SECRET have been deprecated in favor of their GLOBUS_COMPUTE_* cousins.

Changed

  • GlobusComputeEngine's strategy kwarg now only accepts str, valid options are {'none', 'simple'} where simple is the default.
  • The maximum duration that workers are allowed to idle when using GlobusComputeEngine can now be configured with the new kwarg max_idletime which accepts a float and defaults to 120s.

2.15.0

13 Mar 20:40
2.15.0
Compare
Choose a tag to compare

v2.15.0

What's Changed

Full Changelog: v2.14.0...2.15.0

2.14.0

29 Feb 18:59
Compare
Choose a tag to compare

v2.14.0