Octue

Latest version: v0.61.0

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

Scan your dependencies

Page 21 of 40

0.14.1

Not secure
Summary
Provides progress on 374 by importing default credentials from compute engine instances.

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

Fixes
- Add read of default account credentials on compute engine instances
- Correctly pull ADCs using octue credentials manager

Operations
- Ignore IDE files
- Add a .devcontainer for vscode users
- Ensure gcp credentials aren't baked into dockeer or committed
- Revert to python 3.8 for developing octue in vscode

Dependencies
- Add pytest to dev dependencies

Testing
- Update unit test for new credentials

Chores
- Apply style to the CI file

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

0.14.0

Not secure
Summary
Shift to only supporting full cloud storage paths (e.g. `gs://my-bucket-name/path/to/file.dat`) rather than separate bucket names and paths within buckets (e.g. `my-bucket-name` and `path/to/file.dat`). This makes interacting with cloud storage clearer, makes it clear which cloud provider the data resides with (e.g. Google), and makes the code more resilient.

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

Enhancements
- **BREAKING CHANGES:** Deprecate `bucket_name` and `path_in_bucket` parameters in the cloud methods of
- `Datafile`
- `Dataset`
- `Manifest`
- `GoogleCloudStorageClient`
- `Analysis`
- **BREAKING CHANGE:** Store datasets at the exact cloud path given to `Dataset.to_cloud` instead of adding the dataset's name to the end of the path

Removals
- Remove deprecated `project_name` code
<!--- END AUTOGENERATED NOTES --->

0.13.0

Not secure
Summary
Make various user/developer experience improvements to the SDK, mostly to do with cloud storage. These include facilitating more readable and less polluted logging with better object representations.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([351](https://github.com/octue/octue-sdk-python/pull/351))
**IMPORTANT:** There is 1 breaking change.

Enhancements
- Log starting of service in CLI `start` command
- Give all `Identifiable` subclasses a name-based representation by default, falling back to an ID-based one if no name is provided
- Demote Google Cloud credentials missing environment variable warning to a debug log message
- Get dataset metadata without causing error log messages
- Add `GoogleCloudStorageClient.exists` method
- Raise a more useful error if a cloud bucket can't be found
- Add `cloud_path` property to `Dataset`
- Prefer cloud paths to local paths for datasets in `Manifest.to_cloud`
- **BREAKING CHANGE:** Set default for `Manifest.to_cloud` `store_datasets` parameter to `False`

Fixes
- Allow empty manifests and datasets to pass cloud existence check
- Properly determine datafile paths relative to dataset
- Fall back to the cloud hash or empty hash value if a datafile is not local

Refactoring
- Factor out getting dataset cloud metadata into a method

Testing
- Use latest cloud storage emulator

Other
- Add cortadocodes as an author in `setup.py`

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

0.12.0

Not secure
Summary
Simplify instantiation of manifests by specifying their datasets as a dictionary instead of a list with a separate keys parameter.

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

Enhancements
- **BREAKING CHANGE:** Subsume `keys` parameter into `datasets` parameter for `Manifest` instantiation by making `datasets` a dictionary
- **BREAKING CHANGE:** Serialise a manifest's datasets as a dictionary
- **BREAKING CHANGE:** Use latest schema for datasets in manifests

Dependencies
- Use `twined==0.2.0`

Documentation
- Use correct GitHub workflow badge in `README`

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

0.11.0

Not secure
Summary
Simplify manifest creation and simplify `octue.resources` cloud storage methods by inferring `project_name` from credentials file.

<!--- SKIP AUTOGENERATED NOTES --->
Contents ([347](https://github.com/octue/octue-sdk-python/pull/347))
**IMPORTANT:** There is 1 breaking change.

Enhancements
- Allow manifests to be defined by a list of dataset paths
- **BREAKING CHANGE:** Infer `project_name` from credentials file and remove its explicit use as a parameter from the following cloud storage methods:
- `GoogleCloudStorageClient`
- `Analysis.finalise`
- `Datafile`
- `Datafile.to_cloud`
- `Dataset.from_cloud`
- `Dataset.to_cloud`
- `Manifest.from_cloud`
- `Manifest.to_cloud`

Refactoring
- Pull cloud path checking into function
- Explicitly include files as a parameter of `Dataset`

Documentation
- Add `manifest` documentation page
- Update version history documentation page
- Fix RST document reference on `logging` page

Style
- Use latest `conventional-commits` pre-commit hook

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

0.10.6

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

Fixes
- Convert non-JSON-serialisable log record args to strings before Pub/Sub log emission

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

Page 21 of 40

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.