Octue

Latest version: v0.61.0

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

Scan your dependencies

Page 20 of 40

0.15.0

Not secure
Summary
Unify the local and deployed service configuration process and generally improve the experience of using the SDK to run services.

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

Enhancements
- **BREAKING CHANGE:** Split configuration into service configuration (`octue.yaml`) and application configuration (location specified in `octue.yaml`)
- Unify the configuration-loading process for services run locally from CLI and in the cloud
- Return `GCPPubSubBackend` from `get_backend` by default
- Raise error if `project_name` is `None` in `GCPPubSubBackend`
- Give more useful name to service instance used by `Child` class
- Check topic/subscription exist before attempting deletion
- Remove `path_from` parameter from `Dataset`, decoupling its path from its `Manifest`'s path
- Add cloud and local existence checks to `Dataset`
- Support `Hashable` instances as dictionary values when hashing
- Allow `Identifiable` instances to have their names set after instantiation
- Always log starting of service
- Return `None` from `Dataset.to_cloud`
- Retrieve `Dataset` metadata during `Manifest` instantiation

Deprecations
- **BREAKING CHANGE:** Remove support for credentials environment variable names for children
- Deprecate the `store_datasets` parameter of `Manifest.to_cloud`

Fixes
- Ensure topic and subscription are deleted when requested in `Service.serve`
- Set cloud path and relative download paths correctly
- Set dataset path to cloud path during `Dataset.to_cloud`
- Use end of cloud path as `Dataset` name if available

Dependencies
- Use `twined==0.2.1`

Testing
- Add mock class for mocking `open` with different contents for different file paths
- Ensure `MockService` can access service args and kwargs

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

0.14.6

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

Enhancements
- Replace `GCPCredentialsManager` usages with calls to `google.auth.default`
- Remove `GCPCredentialsManager`

Operations
- Use workload identity federation in GitHub workflows instead of supplying a repository secret containing the contents of a Google Cloud service account key JSON file
- Upgrade to `actions/checkoutv3` in workflows

Dependencies
- Require at least the minimum version of `google-auth` that supports workload identity federation

Testing
- Skip independently failing test

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

0.14.5

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

Enhancements
- Add a created label to topics on creation

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

0.14.4

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

Fixes
- Fix migration of old manifest datasets format to new format

Testing
- Avoid test leakage

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

0.14.3

Not secure
Summary

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

Fixes
- Allow for ADCs not containing project IDs

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

0.14.2

Not secure
<!-- PRs into main are released as soon as they are merged. Their descriptions will be used directly to create release notes, so make sure they contain everything! -->
<!-- Anything added between the auto-generation marker comments will be replaced on every pushed commit, so make sure to add anything you want to add outside of them. -->
<!-- However, any part of the final PR description (i.e. the description at the point of the final commit to the PR) can be changed in release notes after release if required -->
Summary

Work against 374.

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

Page 20 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.