Releases: octue/octue-sdk-python
Releases · octue/octue-sdk-python
Add ability to automatically retry failed multiple questions
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 ofdatafile.path
- Use
octue.utils.processes.run_logged_subprocess
instead ofoctue.utils.threads.run_logged_subprocess
Require children to be registered in service registry if provided
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
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
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
Contents (#595)
IMPORTANT: There is 1 breaking change.
Fixes
- 💥 BREAKING CHANGE: Remove special treatment of
latest
revision tag
Refactoring
- Rename
get_latest_sruid
toget_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
Loosen packaging version range
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
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 orlatest
is used - Allow specification of service registries in service configuration and via
Child
andService
Enhancements
- Add function for splitting SRUIDs
Refactoring
- Rename functions in
service_id
module to remove redundant "service" from name
Dependencies
- Swap deprecated
pkg_resources
forimportlib.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
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
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
andprotobuf
to avoid security issues