Releases: Substra/substra
Releases · Substra/substra
0.41.0
0.41.0rc2
release Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
0.41.0rc1
release Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
0.40.0
0.40.0 - 2022-11-22
Changed
- BREAKING CHANGE: replace the tasks
traintuple
,aggregatetuple
,predicttuple
,testtuple
,composite_traintuple
with a singletask
(#299)
task_key = client.add_task(
substra.schemas.TaskSpec(
algo_key=algo_key,
worker=client.organization_info().organization_id, # org on which the task is executed
inputs=[
{
'identifier': 'datasamples',
'asset_key': datasample_key
},
{
'identifier': 'opener',
'asset_key': dataset_key
}
],
outputs= {
'example_output': {
'permissions': {
'public': False,
'authorized_ids': ['org1'],
},
'is_transient': True,
}
}
)
)
task = client.get_task(task_key)
tasks = client.list_task()
# Compute plan changes
compute_plan = client.add_compute_plan(
substra.schemas.ComputePlanSpec(
name = 'my compute plan',
tasks = [
schemas.ComputePlanTaskSpec(
task_id=uuid.uuid4(),
algo_key=algo_key,
worker=client.organization_info().organization_id, # org on which the task is executed
inputs=[
{
'identifier': 'datasamples',
'asset_key': datasample_key
},
{
'identifier': 'opener',
'asset_key': dataset_key
}
],
outputs= {
'example_output': {
'permissions': {
'public': False,
'authorized_ids': ['org1'],
},
'is_transient': True,
}
}
)
]
)
)
- Update substratools Docker image name (#316)
Fixed
- Remove depreciated
pytest-runner
from setup.py (#320) - link_dataset_with_data_samples return value in remote mode
- Fix the compute plan rank calculation in local mode (#299)
- Windows compatibility on
pathlib
usage for a Docker argument (#317)
Changed
0.38.2
Fixed
- link_dataset_with_data_samples return value in remote mode
0.39.0
0.39.0 - 2022-10-03
Removed
- BREAKING CHANGE: remove category from substra.schema.AlgoSpec and substra.models.Algo
Added
- Prevent use of
__
in asset metadata keys in local mode - docker: add build logs to container image build exception messages
- At compute plan submission by batch, continue the submission after a timeout error
0.38.1
0.29.2
0.38.0
0.38.0 - 2022-09-26
Tests
- used openers within the library only exposes
get_data
andfake_data
methods due to breaking changes within
substra-tools - a third argument
task_properties
(containing therank
of a task) has been added to all algo methods relying on substra-tools - substra tools metrics
tools.Metrics
becometools.MetricAlgo
andtools.metrics.execute
becomestools.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