Skip to content

Releases: Substra/substra-tools

0.21.3rc1

27 Mar 08:44
24ebdaa
Compare
Choose a tag to compare
0.21.3rc1 Pre-release
Pre-release

0.21.3 - 2024-03-27

Changed

    • Drop Python 3.8 support (#90)
    • Depreciate setup.py in favour of pyproject.toml (#92)

0.21.2

07 Mar 10:24
2c36079
Compare
Choose a tag to compare

0.21.2

Changed

  • Update dependencies

0.21.1

26 Feb 13:41
e70bf2d
Compare
Choose a tag to compare

Changed

  • Updated dependencies

0.21.1rc1: chore: release 0.21.1-rc1

23 Feb 16:07
cc01269
Compare
Choose a tag to compare
Pre-release
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>

0.21.1-rc1

23 Feb 15:01
cc01269
Compare
Choose a tag to compare
0.21.1-rc1 Pre-release
Pre-release
chore: release 0.21.1-rc1

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

0.21.0

06 Oct 13:50
9e0cc13
Compare
Choose a tag to compare

Changed

  • Remove model and models for input and output identifiers in tests. Replace by shared instead. (#84)
  • BREAKING: Remove minimal and workflow docker images (#86)
  • Remove python lib from Docker image (#86)

0.21.0rc3

04 Oct 10:00
7424af5
Compare
Choose a tag to compare
0.21.0rc3 Pre-release
Pre-release

Changed

  • Remove model and models for input and output identifiers in tests. Replace by shared instead. (#84)
  • BREAKING: Remove minimal and workflow docker images (#86)
  • Remove python lib from Docker image (#86)

0.20.0

20 Dec 13:42
53b2048
Compare
Choose a tag to compare

0.20.0 - 2022-12-19

Changed

  • Add optional argument to register decorator to choose a custom function name. Allow to register the same function several time with a different name (#74)
  • Rank is now passed in a task properties dictionary from the backend (instead of the rank argument) (#75)

0.20.0rc1

19 Dec 09:06
Compare
Choose a tag to compare
0.20.0rc1 Pre-release
Pre-release
release

Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>

0.19.0

22 Nov 09:54
86b0e9c
Compare
Choose a tag to compare

0.19.0 - 2022-11-22

Changed

  • BREAKING CHANGE (#65)

    • Register functions to substratools can be done with a decorator.
    def my_function1:
      pass
    
    def my_function2:
      pass
    
    if __name__ == '__main__':
      tools.execute(my_function1, my_function2)

    become

    @tools.register
    def my_function1:
      pass
    
    @tools.register
    def my_function2:
      pass
    
    if __name__ == '__main__':
      tools.execute()
  • BREAKING CHANGE (#63)

    • Rename algo to function.
    • tools.algo.execute become tools.execute
    • The previous algo class pass to the function tools.algo.execute is now several functions pass as arguments to tools.execute. The function given by the cli --function-name is executed.
    if __name__ == '__main__':
      tools.algo.execute(MyAlgo())

    become

    if __name__ == '__main__':
      tools.execute(my_function1, my_function2)

Fixed

  • Remove depreciated pytest-runner from setup.py (#71)
  • Replace backslash by slash in TaskResources to fix windows compatibility (#70)
  • Update flake8 repository in pre-commit configuration (#69)
  • BREAKING CHANGE: Update substratools Docker image (#112)