diff --git a/changelog.d/20241023_095610_yadudoc1729_configure_tasks_working_dir.rst b/changelog.d/20241023_095610_yadudoc1729_configure_tasks_working_dir.rst deleted file mode 100644 index c593e8c41..000000000 --- a/changelog.d/20241023_095610_yadudoc1729_configure_tasks_working_dir.rst +++ /dev/null @@ -1,20 +0,0 @@ -New Functionality -^^^^^^^^^^^^^^^^^ - -- ``GlobusComputeEngine``, ``ThreadPoolEngine``, and ``ProcessPoolEngine`` can - now be configured with ``working_dir`` to specify the tasks working directory. - If a relative path is specified, it is set in relation to the endpoint - run directory (usually ``~/.globus_compute/``). Here's an example - config file: - - .. code-block:: yaml - - engine: - type: GlobusComputeEngine - working_dir: /absolute/path/to/tasks_working_dir - -Bug Fixes -^^^^^^^^^ - - - Fixed a bug where functions run with ``ThreadPoolEngine`` and ``ProcessPoolEngine`` - create and switch into the ``tasks_working_dir`` creating endless nesting. diff --git a/changelog.d/20241101_153924_chris_function_name_code.rst b/changelog.d/20241101_153924_chris_function_name_code.rst deleted file mode 100644 index c726ffc20..000000000 --- a/changelog.d/20241101_153924_chris_function_name_code.rst +++ /dev/null @@ -1,6 +0,0 @@ -Deprecated -^^^^^^^^^^ - -- Before this version, the ``function_name`` argument to ``Client.register_function`` - was not used, so it has now been deprecated. As before, function names are - determined by the function's ``__name__`` and cannot be manually specified. diff --git a/changelog.d/20241101_155044_chris_function_description_from_docstring.rst b/changelog.d/20241101_155044_chris_function_description_from_docstring.rst deleted file mode 100644 index d34a3bea9..000000000 --- a/changelog.d/20241101_155044_chris_function_description_from_docstring.rst +++ /dev/null @@ -1,5 +0,0 @@ -New Functionality -^^^^^^^^^^^^^^^^^ - -- Function docstrings are now read and used as the description for the function when it - is uploaded. This will support future UI changes to the webapp. diff --git a/changelog.d/20241111_160525_chris_new_pythons.rst b/changelog.d/20241111_160525_chris_new_pythons.rst deleted file mode 100644 index f7b284ea9..000000000 --- a/changelog.d/20241111_160525_chris_new_pythons.rst +++ /dev/null @@ -1,5 +0,0 @@ -New Functionality -^^^^^^^^^^^^^^^^^ - -- The ``globus-compute-sdk`` and ``globus-compute-endpoint`` packages now support - Python version 3.12. diff --git a/changelog.d/20241114_143416_yadudoc1729_require_engine_start.rst b/changelog.d/20241114_143416_yadudoc1729_require_engine_start.rst deleted file mode 100644 index 5075027c3..000000000 --- a/changelog.d/20241114_143416_yadudoc1729_require_engine_start.rst +++ /dev/null @@ -1,5 +0,0 @@ -New Functionality -^^^^^^^^^^^^^^^^^ - -- Added a new runtime check to ``globus_compute_endpoint.engines`` that will raise a `RuntimeError` - if a task is submitted before ``engine.start()`` was called. diff --git a/compute_endpoint/globus_compute_endpoint/version.py b/compute_endpoint/globus_compute_endpoint/version.py index dffda4a55..78ee59d22 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.31.0a1" +__version__ = "2.31.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 2f2344cb0..97cd308c0 100644 --- a/compute_endpoint/setup.py +++ b/compute_endpoint/setup.py @@ -6,7 +6,7 @@ REQUIRES = [ "requests>=2.31.0,<3", "globus-sdk", # version will be bounded by `globus-compute-sdk` - "globus-compute-sdk==2.31.0a1", + "globus-compute-sdk==2.31.0", "globus-compute-common==0.5.0", "globus-identity-mapping==0.4.0", # table printing used in list-endpoints diff --git a/compute_sdk/globus_compute_sdk/version.py b/compute_sdk/globus_compute_sdk/version.py index ad0929672..92d9131e2 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.31.0a1" +__version__ = "2.31.0" def compare_versions( diff --git a/docs/changelog.rst b/docs/changelog.rst index 4a5d5d0b2..2954cf06f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,48 @@ Changelog .. scriv-insert-here +.. _changelog-2.31.0a1: + +globus-compute-sdk & globus-compute-endpoint v2.31.0a1 +------------------------------------------------------ + +New Functionality +^^^^^^^^^^^^^^^^^ + +- ``GlobusComputeEngine``, ``ThreadPoolEngine``, and ``ProcessPoolEngine`` can + now be configured with ``working_dir`` to specify the tasks working directory. + If a relative path is specified, it is set in relation to the endpoint + run directory (usually ``~/.globus_compute/``). Here's an example + config file: + + .. code-block:: yaml + + engine: + type: GlobusComputeEngine + working_dir: /absolute/path/to/tasks_working_dir + +- Function docstrings are now read and used as the description for the function when it + is uploaded. This will support future UI changes to the webapp. + +- The ``globus-compute-sdk`` and ``globus-compute-endpoint`` packages now support + Python version 3.12. + +- Added a new runtime check to ``globus_compute_endpoint.engines`` that will raise a `RuntimeError` + if a task is submitted before ``engine.start()`` was called. + +Bug Fixes +^^^^^^^^^ + + - Fixed a bug where functions run with ``ThreadPoolEngine`` and ``ProcessPoolEngine`` + create and switch into the ``tasks_working_dir`` creating endless nesting. + +Deprecated +^^^^^^^^^^ + +- Before this version, the ``function_name`` argument to ``Client.register_function`` + was not used, so it has now been deprecated. As before, function names are + determined by the function's ``__name__`` and cannot be manually specified. + .. _changelog-2.30.1: globus-compute-sdk & globus-compute-endpoint v2.30.1