Skip to content

0.38.0

Compare
Choose a tag to compare
@louishulot louishulot released this 26 Sep 09:30
· 115 commits to main since this release

0.38.0 - 2022-09-26

Tests

  • used openers within the library only exposes get_data and fake_data methods due to breaking changes within
    substra-tools
  • a third argument task_properties (containing the rank of a task) has been added to all algo methods relying on substra-tools
  • substra tools metrics tools.Metrics become tools.MetricAlgo and tools.metrics.execute becomes tools.algo.execute (#290)

Changed

  • Algo categories are not checked anymore in local mode. Validations based on inputs and outputs are sufficient.
  • BREAKING CHANGE: the backend type is now set in the Client, the env variable DEBUG_SPAWNER is not used anymore. Default value is deployed (#287)

API before

export DEBUG_SPAWNER=subprocess
client = substra.Client(debug=True)

API after

client = substra.Client(backend_type=substra.BackendType.LOCAL_SUBPROCESS)
  • Pass substra-tools arguments via a file instead of the command line
  • internal change: the metrics algo CLI is the same as the other algos (#290)

Removed

  • BREAKING CHANGE: Model.category field