Skip to content

Releases: octue/octue-sdk-python

Add ability to automatically retry failed multiple questions

13 Nov 17:56
384e5a1
Compare
Choose a tag to compare

Contents (#608)

IMPORTANT: There is 1 breaking change.

Enhancements

  • Add ability to automatically retry failed questions in Child.ask_multiple
  • Add Cloud Run dockerfile with python3.11 base

Operations

  • Use trusted publisher to publish to PyPi

Refactoring

  • 💥 BREAKING CHANGE: Remove deprecated code

Testing

  • Remove unnecessary service IDs from TestChild tests

Upgrade instructions

💥 Remove deprecated code
  • Use datafile.local_path instead of datafile.path
  • Use octue.utils.processes.run_logged_subprocess instead of octue.utils.threads.run_logged_subprocess

Require children to be registered in service registry if provided

03 Oct 16:46
c481d28
Compare
Choose a tag to compare

Contents (#604)

Enhancements

  • Raise error when asking a question to an unregistered service revision (when using service registries only)

Fixes

  • Ensure questions can be asked to unregistered service revisions when not using a service registry

Operations

  • Fix workflows name typo

Add ability to catch errors when asking multiple questions

02 Oct 15:18
207f378
Compare
Choose a tag to compare

Contents (#607)

Enhancements

  • Add ability to catch errors for failed questions and keep answers for successful questions when using Child.ask_multiple

Remove dataflow deployment CLI command

26 Jul 14:47
a6584c4
Compare
Choose a tag to compare

Contents (#598)

IMPORTANT: There is 1 breaking change.

Operations

  • Remove unnecessary checkout steps in workflows
  • Run PR workflow on all PRs

Dependencies

  • Remove dataflow-related dependencies

Testing

  • Use live schema to test essential monitor messages

Reversions

  • 💥 BREAKING CHANGE: Remove octue deploy dataflow command and related code
  • Remove deployment-related attributes from ServiceConfiguration

Upgrade instructions

💥 Remove `octue deploy dataflow` command and related code

Use our deployment GitHub actions and workflows or contact us to deploy to Dataflow.

Remove special treatment of `latest` revision tag

13 Jul 15:54
b49957d
Compare
Choose a tag to compare

Contents (#595)

IMPORTANT: There is 1 breaking change.

Fixes

  • 💥 BREAKING CHANGE: Remove special treatment of latest revision tag

Refactoring

  • Rename get_latest_sruid to get_default_sruid

Style

  • Use new branch naming convention in pre-commit check

Upgrade instructions

💥 Remove special treatment of `latest` revision tag

Using the latest tag for a service will now only work if an explicit tag with that name has been set. To get the default service revision, just omit the revision tag entirely.

Unpin `flask` dependency

12 Jul 17:33
622dd2c
Compare
Choose a tag to compare

Contents (#593)

Dependencies

  • Unpin flask dependency

Loosen packaging version range

12 Jul 15:51
a16b960
Compare
Choose a tag to compare

Contents (#592)

Operations

  • Rename workflow

Dependencies

  • Loosen packaging version range to avoid compatibility issues for other packages and apps

Add ability to get latest revision of a service

05 Jul 17:43
aa256bc
Compare
Choose a tag to compare

Contents (#587)

New features

  • Add method for getting latest SRUID for a service
  • Use latest service revision in Service.ask when revision tag not provided or latest is used
  • Allow specification of service registries in service configuration and via Child and Service

Enhancements

  • Add function for splitting SRUIDs

Refactoring

  • Rename functions in service_id module to remove redundant "service" from name

Dependencies

  • Swap deprecated pkg_resources for importlib.metadata

Testing

  • Factor out mock service revision tag and use instead of latest in tests

Style

  • Use latest commit message checker

Move crash diagnostics logic into class

27 Jun 19:02
f802b9a
Compare
Choose a tag to compare

Contents (#586)

Enhancements

Improve app crash log handling by:

  • When an app crashes, always raise the error
  • When crash diagnostics fail to upload, only log the error instead of raising it

Refactoring

  • Factor crash diagnostics handling out into a class

Make crash diagnostics compatible with serialised datasets

27 Jun 16:53
331c074
Compare
Choose a tag to compare

Contents (#585)

Fixes

  • Ensure crash diagnostics can deal with serialised values
  • Ensure crash diagnostics can deal with manifests containing serialised datasets (as opposed to containing just paths to datasets)

Dependencies

  • Update requests and protobuf to avoid security issues