Releases: globus/globus-compute
2.28.0
New Functionality
-
The multi-user endpoint now saves user-endpoint standard file streams (aka
stdout
andstderr
) to the UEP'sendpoint.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
andWebClient
now support using aGlobusApp
for authentication. For standard interactive login flows, users can leave theapp
argument blank when initializing theClient
, or pass in a customUserApp
. For client authentication, users can leave theapp
argument blank and set theGLOBUS_COMPUTE_CLIENT_ID
andGLOBUS_COMPUTE_CLIENT_SECRET
environment variables, or pass in a customClientApp
.For more information on how to use a
GlobusApp
, see the Globus SDK documentation.Users can still pass in a custom
LoginManager
to thelogin_manager
argument, but this is mutually exclusive with theapp
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 definingGLOBUS_COMPUTE_SECRET_KEY
. The reverse, however, will still raise an exception.
Removed
- Removed
http_timeout
,funcx_home
, andtask_group_id
arguments toClient
, 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 useWebClient.app_name
instead.
Changed
- Bumped
parsl
dependency version to 2024.9.9.
2.27.1
2.27.0
What's Changed
- Include config file content in EP registration by @rjmello in #1625
- Remove no-longer-needed dependency by @khk-globus in #1628
- Fix broken MPI test by @khk-globus in #1629
- Remove remote whitelist commands by @chris-janidlo in #1622
- Update Midway config examples by @rjmello in #1630
- Mark
HighThroughputEngine
for deprecation by @rjmello in #1631
Full Changelog: 2.26.0...2.27.0
2.26.0
2.22.0
What's Changed
- Build SDK as well as endpoint wheel for packaging by @khk-globus in #1576
- Updating Midway config to use GCE by @yadudoc in #1577
- Support for setting working_dir and sandboxing in
GlobusComputeEngine
by @yadudoc in #1543 - Document the changed default AMQP port value by @chris-janidlo in #1580
- Remove no-longer needed code by @khk-globus in #1581
- Teach UEP configuration
debug
flag by @khk-globus in #1582 - Log anonymous configuration in debug by @khk-globus in #1584
Full Changelog: 2.21.0...2.22.0
2.19.0
2.18.1
Bug Fixes
- Fixed a bug that caused endpoints using the old
HighThroughputExecutor
to fail silently.
2.18.0
New Functionality
- Added
GLOBUS_COMPUTE_CLIENT_ID
andGLOBUS_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 inendpoint.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
andFUNCX_SDK_CLIENT_SECRET
have been deprecated in favor of theirGLOBUS_COMPUTE_*
cousins.
Changed
GlobusComputeEngine
'sstrategy
kwarg now only acceptsstr
, valid options are{'none', 'simple'}
wheresimple
is the default.- The maximum duration that workers are allowed to idle when using
GlobusComputeEngine
can now be configured with the new kwargmax_idletime
which accepts a float and defaults to 120s.
2.15.0
v2.15.0
What's Changed
- Support
max_workers_per_node
attr for GCEngine by @rjmello in #1472 - Bump globus-identity-mapper to 0.3.0 by @khk-globus in #1477
- Two dependency updates by @khk-globus in #1478
- Do not escape containerized launch command by @rjmello in #1480
- Ensure parsl logs propagate by @rjmello in #1481
- Bump parsl pinned version to 2023.3.4 by @yadudoc in #1483
- Remove
max_workers
rename in GCEngine by @rjmello in #1484
Full Changelog: v2.14.0...2.15.0