Closed renovate[bot] closed 6 months ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
Test coverage for 029aab1834a432aa71276ad6386eea6ed98c98a3
Name Stmts Miss Branch BrPart Cover Missing
----------------------------------------------------------
src/charm.py 188 3 68 5 97% 302->305, 396, 403->391, 409, 417
----------------------------------------------------------
TOTAL 188 3 68 5 97%
Static code analysis report
Run started:2024-04-02 16:33:30.587287
Test results:
No issues identified.
Code scanned:
Total lines of code: 1059
Total lines skipped (#nosec): 0
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0
Run metrics:
Total issues (by severity):
Undefined: 0
Low: 0
Medium: 0
High: 0
Total issues (by confidence):
Undefined: 0
Low: 0
Medium: 0
High: 0
Files skipped (0):
This PR contains the following updates:
==2.11.0
->==2.12.0
Release Notes
canonical/operator (ops)
### [`v2.12.0`](https://togithub.com/canonical/operator/blob/HEAD/CHANGES.md#2120---28-Mar-2024) [Compare Source](https://togithub.com/canonical/operator/compare/2.11.0...2.12.0) #### Features - Added `Model.get_cloud_spec` which uses the `credential-get` hook tool to get details of the cloud where the model is deployed ([#1152](https://togithub.com/canonical/operator/issues/1152)) #### Fixes - Update Pebble Notices `get_notices` parameter name to `users=all` (previously `select=all`) ([#1146](https://togithub.com/canonical/operator/issues/1146)) - Warn when an observer weakref is lost ([#1142](https://togithub.com/canonical/operator/issues/1142)) - More robust validation of observer signatures ([#1147](https://togithub.com/canonical/operator/issues/1147)) - Change `Model.relation.app` type from `Application|None` to `Application` ([#1151](https://togithub.com/canonical/operator/issues/1151)) - Fix attaching storage in Harness before `begin` ([#1150](https://togithub.com/canonical/operator/issues/1150)) - Fixed an issue where `pebble.Client.exec` might leak a `socket.timeout` (`builtins.TimeoutError`) exception ([#1155](https://togithub.com/canonical/operator/issues/1155)) - Add a consistency check and default network to `add_relation` ([#1138](https://togithub.com/canonical/operator/issues/1138)) - Don't special-case `get_relation` behaviour in `leader-elected` ([#1156](https://togithub.com/canonical/operator/issues/1156)) - Accept `type: secret` for config options ([#1167](https://togithub.com/canonical/operator/issues/1167)) #### Refactoring - Refactor main.py, creating a new `_Manager` class ([#1085](https://togithub.com/canonical/operator/issues/1085)) #### Documentation - Use "integrate with" rather than "relate to" ([#1145](https://togithub.com/canonical/operator/issues/1145)) - Updated code examples in the docstring of `ops.testing` from unittest to pytest style ([#1157](https://togithub.com/canonical/operator/issues/1157)) - Add peer relation details in `Harness.add_relation` docstring ([#1168](https://togithub.com/canonical/operator/issues/1168)) - Update Read the Docs Sphinx Furo theme to use Canonical's latest styling ([#1163](https://togithub.com/canonical/operator/issues/1163), [#1164](https://togithub.com/canonical/operator/issues/1164), [#1165](https://togithub.com/canonical/operator/issues/1165))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.