Octue

Latest version: v0.61.0

Safety actively analyzes 688823 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 40

0.36.0

Not secure
Summary
This PR adds the use of empirical data (instead of intuition) on compatible versions of `octue` for inter-service communication to warn about version compatibilities when errors are raised during communication.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([498](https://github.com/octue/octue-sdk-python/pull/498))

New features
- Add `octue` version compatibility checker that uses empirical compatibility data

Enhancements
- Warn if incompatible SDK version detected if an error is raised while handling messages in parent or answering questions in child
- Add recorded questions and empirical version compatibility data for versions since `0.16.0` inclusively

Operations
- Add workflow that checks version compatibility testing has been carried out for the current version
- Add script that prints a table of version compatibilities

<!--- END AUTOGENERATED NOTES --->

0.35.1

Not secure
Summary
When finalising analyses that produce output datasets, automatically upload the datasets to the `output_location` if it's specified in the app configuration. Additionally, the datasets are put in unique subdirectories within the `output_location` to avoid unintended overwriting or combining of sets of datasets.

These changes remove the need to explicitly call `Analysis.finalise` or construct a unique path to upload datasets to within an app when an `output_location` is provided in the app configuration.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([519](https://github.com/octue/octue-sdk-python/pull/519))

Enhancements
- Automatically upload output datasets to output location specified in app configuration in `Analysis.finalise`
- Automatically use a unique subdirectory within the output location in `Analysis.finalise` to avoid data loss/pollution

<!--- END AUTOGENERATED NOTES --->

0.35.0

Not secure
Summary
Remove confusing warnings about instantiation metadata vs. stored metadata when instantiating datafiles and datasets. Clarify the resolution order when both instantiation metadata and stored metadata are present.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([518](https://github.com/octue/octue-sdk-python/pull/518))

**IMPORTANT:** There are 2 breaking changes.

Fixes
- Remove misleading metadata override warnings from `Datafile` and `Dataset`

Operations
- Use newer poetry syntax for installing extras

Refactoring
- 💥 **BREAKING CHANGE:** Rename Datafile `hypothetical` parameter to `ignore_stored_metadata`
- 💥 **BREAKING CHANGE:** Rename Dataset `hypothetical` parameter to `ignore_stored_metadata`

Operations
- Use latest commit message checker

---
Upgrade instructions
<details>
<summary>💥 <b>Rename Datafile `hypothetical` parameter</b></summary>

Replace `hypothetical` with `ignore_stored_metadata`.
</details>

<details>
<summary>💥 <b>Rename Dataset `hypothetical` parameter</b></summary>

Replace `hypothetical` with `ignore_stored_metadata`.
</details>

<!--- END AUTOGENERATED NOTES --->

0.34.1

Not secure
Summary

<!--- START AUTOGENERATED NOTES --->
Contents ([517](https://github.com/octue/octue-sdk-python/pull/517))

Fixes
- Combine duplicate installations in Docker container

Operations
- Use new poetry installation script in Docker containers

<!--- END AUTOGENERATED NOTES --->

0.34.0

Not secure
Summary
This release upgrades children to send heartbeats to parents. This allows the parent to know that a child it's asked a question to is still alive and hasn't crashed. In the event of a crash, heartbeats stop being received and the parent aborts the questions, avoiding large waits for nothing.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([514](https://github.com/octue/octue-sdk-python/pull/514))
**IMPORTANT:** There are 2 breaking changes.

New features
- Send heartbeat messages to parents from children
- Raise error in parent if child heartbeats aren't received for too long an interval

Enhancements
- Tell user how to question a service after using `octue start` CLI command

Refactoring
- 💥 **BREAKING CHANGE:** Rename `run_subprocess_and_log_stdout_and_stderr` to `run_logged_subprocess`
- Split thread and process utilities into separate modules
- Remove redundant extra `while` loop in `OrderedMessageHandler`
- Remove redundant `unwrap` function and `AppFrom.run` method from `runner` module

Operations
- Use non-deprecated/latest Codecov action in workflows

Testing
- Increase `ChildEmulator` test coverage


---
Upgrade instructions
<details>
<summary>💥 <b>Rename run_subprocess_and_log_stdout_and_stderr to run_logged_subprocess</b></summary>

Use `octue.utils.threads.run_logged_subprocess` instead.
</details>

<!--- END AUTOGENERATED NOTES --->

0.33.0

Not secure
Summary
Add the ability to ask a child any number of questions in parallel instead of in serial.

<!--- START AUTOGENERATED NOTES --->
Contents ([513](https://github.com/octue/octue-sdk-python/pull/513))

New features
- Add ability to ask children questions in parallel

Other
- Document parallelised question asking

<!--- END AUTOGENERATED NOTES --->

Page 10 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.