Skip to content

v4.0.1

Choose a tag to compare

@poautran poautran released this 02 Mar 11:03
· 56 commits to main since this release

Full changelog: v3.1.0...v4.0.1

There was a problem with 4.0.0 so 4.0.1 is the next new version

4.0: Python 3.7 dropped, automatic discovery at launch and ewoksserver 2.0

New major version since ewoksweb dropped support for Python 3.7 and is now only compatible with ewoksserver 2.0. When updating an existing installation of ewoksweb, do not forget to update ewoksserver as well:

pip install --upgrade ewoksweb
pip install --upgrade ewoksserver

In addition, task discovery now happens automatically when starting ewoksweb. This means that if new tasks are added to the Python environment where ewoksweb is running, it is sufficient to restart ewoksweb to have them available in the task drawer.

Manual discovery can of course still be used to discover tasks without restarting. As a reminder, manual discovery can be done by clicking the Discover tasks button in ewoksweb:

image

Previously, the automatic discovery was done only done if --rediscover-tasks was specified when launching ewoksweb. This argument was removed and there is now a --no-discovery-at-launch CLI argument to disable to automatic discovery at launch.

Breaking changes

  • Python 3.7 is no longer supported. Python 3.8 is the minimum supported version.
  • Task discovery now happens automatically at launch. Use the new CLI arg --no-discovery-at-launch to disable this.
  • Removed --rediscover-tasks CLI arguments
  • Ewoksweb is now only compatible with ewoksserver 2.0 and more (using Ewoks REST API 2.0).
    • worker_options graph field was replaced by submit_arguments. As for previous releases, a conversion script is available to convert automatically your workflows: convert_to_ewoksweb4.py
python convert_to_ewoksweb4.py <path_to_ewoksweb_resources>/workflows/*.json