Skip to content

Commit

Permalink
chore: release 0.39.0 (#438)
Browse files Browse the repository at this point in the history
* chore(release): add release 0.39.0

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* chore(examples/substra_core): unpin substratools lib version in dockerfiles

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* feat: add first version release notes

Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>

* docs(releases): add more release notes

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* fix(docs/examples): remove scikit-learn from dockerfile dependencies

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* fix(docs/examples): revert constraint on pandas in dockerfile dependencies

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* style(release): fix style issue on release notes

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>

* [auto] update changelog

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com>
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Guilhem Barthés <guilhem.barthes@owkin.com>
Co-authored-by: substra-bot[bot] <substra-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 16, 2024
1 parent dc54c10 commit a0327ed
Show file tree
Hide file tree
Showing 16 changed files with 100 additions and 13 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## [0.39.0](https://github.com/Substra/substra-documentation/releases/tag/0.39.0) - 2024-09-13

### Added

- Documentation on Kubernetes volumes. ([#424](https://github.com/Substra/substra-documentation/pull/424))
- Documentation on network policies. ([#425](https://github.com/Substra/substra-documentation/pull/425))
- How-to on `nodeSelector`, `affinity` and `taints` for the compute function ([#429](https://github.com/Substra/substra-documentation/pull/429))
- Support Python 3.12. ([#430](https://github.com/Substra/substra-documentation/pull/430))

### Changed

- Apply `use_gpu` to `diasble_gpu` renaming on SubstraFL in all `TorchAlgo` ([#436](https://github.com/Substra/substra-documentation/pull/436))

### Fixed

- Ignore `IntEnum` in API reference documentation. ([#427](https://github.com/Substra/substra-documentation/pull/427))
- Bump pytorch version to 2.2.1 in tests. ([#431](https://github.com/Substra/substra-documentation/pull/431))


## [0.38.0](https://github.com/Substra/substra-documentation/releases/tag/0.38.0) - 2024-06-03

### Added
Expand Down
1 change: 0 additions & 1 deletion changes/424.added

This file was deleted.

1 change: 0 additions & 1 deletion changes/425.added

This file was deleted.

1 change: 0 additions & 1 deletion changes/427.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/429.added

This file was deleted.

1 change: 0 additions & 1 deletion changes/430.added

This file was deleted.

1 change: 0 additions & 1 deletion changes/431.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changes/436.changed

This file was deleted.

43 changes: 43 additions & 0 deletions docs/source/additional/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,49 @@ This is an overview of the main changes, please have a look at the changelog of
- `backend changelog <https://github.com/Substra/substra-backend/blob/main/CHANGELOG.md>`__
- `orchestrator changelog <https://github.com/Substra/orchestrator/blob/main/CHANGELOG.md>`__

Substra 0.39.0 --- 2024-09-13
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**All**

.. warning::

**This will the last version offering support for Python 3.9!**

- We are now supporting Python 3.12

- Please make sure your workflows relies on Python 3.10 at least from now on

.. warning::

**It's not longer possible to generate never-expiring tokens via the web application.**

- BREAKING: User tokens previously generated via the web application without an expiry date will expire during an upgrade towards 0.39.0

- Improved handling of errors without logs

- Introducing function profiling, available on linked tasks via the web application

**SubstraFL**

- **BREAKING**: renamed argument ``use_gpu`` to ``disable_gpu`` in ``TorchAlgo``

- Enforced ``substrafl`` compatibility with GPU workflows

**Backend**

- Reduced build time by downloading functions only if not present on the current backend

**Operations**

- Enabled (on-demand) GPU compatibility. The main visible change is the introduction of the new fields in substra-backend charts, allowing the use of node pools spawned on-demand with specific capabilities (like GPUs):
- ``worker.computePod.affinity``
- ``worker.computePod.nodeSelector``
- ``worker.computePod.tolerations``

- Allow to use pre-defined (instead of packaged) secrets in substra-backend (in particular ``accountOperator``)


Substra 0.38.0 --- 2024-06-13
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
32 changes: 32 additions & 0 deletions docs/source/additional/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,38 @@ components: # for table headers
- substra-tests

releases:
- version: 0.39.0
components:
substrafl:
version: 0.47.0
link: https://github.com/Substra/substrafl/releases/tag/0.47.0
substra:
version: 0.54.0
link: https://github.com/Substra/substra/releases/tag/0.54.0
substra-tools:
version: 0.22.0
link: https://github.com/Substra/substra-tools/releases/tag/0.22.0
substra-backend:
version: 0.48.0
link: https://github.com/Substra/substra-backend/releases/tag/0.48.0
helm:
version: 26.9.1
link: https://artifacthub.io/packages/helm/substra/substra-backend/26.9.1
orchestrator:
version: 0.43.0
link: https://github.com/Substra/orchestrator/releases/tag/0.43.0
helm:
version: 8.7.6
link: https://artifacthub.io/packages/helm/substra/orchestrator/8.7.6
substra-frontend:
version: 0.52.0
link: https://github.com/Substra/substra-frontend/releases/tag/0.52.0
helm:
version: 1.2.2
link: https://artifacthub.io/packages/helm/substra/substra-frontend/1.2.2
substra-tests:
version: 0.52.0
link: https://github.com/Substra/substra-tests/releases/tag/0.52.0
- version: 0.38.0
components:
substrafl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.9-slim

# install dependencies
RUN pip3 install 'pandas<2.0' 'numpy<2.0' 'substratools==0.22.0a2'
RUN pip3 install 'pandas<2.0' 'numpy<2.0' substratools

# add your algorithm script to docker image
ADD federated_analytics_functions.py .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.9-slim

# install dependencies
RUN pip3 install 'pandas<2.0' 'numpy<2.0' 'substratools==0.22.0a2'
RUN pip3 install 'pandas<2.0' 'numpy<2.0' substratools

# add your algorithm script to docker image
ADD federated_analytics_functions.py .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.9-slim

# install dependencies
RUN pip3 install 'pandas<2.0' 'numpy<2.0' 'substratools==0.22.0a2'
RUN pip3 install 'pandas<2.0' 'numpy<2.0' substratools

# add your algorithm script to docker image
ADD federated_analytics_functions.py .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' 'substratools==0.22.0a2'
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools

# add your function script to docker image
ADD titanic_function_rf.py .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' 'substratools==0.22.0a2'
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools

# add your function script to docker image
ADD titanic_function_rf.py .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' 'substratools==0.22.0a2'
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools

# add your metrics script to docker image
ADD titanic_metrics.py .
Expand Down

0 comments on commit a0327ed

Please sign in to comment.