Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ops to v2.12.0 #30

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ops (changelog) ==2.11.0 -> ==2.12.0 age adoption passing confidence

Release Notes

canonical/operator (ops)

v2.12.0

Compare Source

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)

Fixes

  • Update Pebble Notices get_notices parameter name to users=all (previously select=all) (#​1146)
  • Warn when an observer weakref is lost (#​1142)
  • More robust validation of observer signatures (#​1147)
  • Change Model.relation.app type from Application|None to Application (#​1151)
  • Fix attaching storage in Harness before begin (#​1150)
  • Fixed an issue where pebble.Client.exec might leak a socket.timeout (builtins.TimeoutError) exception (#​1155)
  • Add a consistency check and default network to add_relation (#​1138)
  • Don't special-case get_relation behaviour in leader-elected (#​1156)
  • Accept type: secret for config options (#​1167)

Refactoring

  • Refactor main.py, creating a new _Manager class (#​1085)

Documentation

  • Use "integrate with" rather than "relate to" (#​1145)
  • Updated code examples in the docstring of ops.testing from unittest to pytest style (#​1157)
  • Add peer relation details in Harness.add_relation docstring (#​1168)
  • Update Read the Docs Sphinx Furo theme to use Canonical's latest styling (#​1163, #​1164, #​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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner March 28, 2024 17:41
Copy link
Contributor

github-actions bot commented Apr 1, 2024

Test coverage for 7d9b5ac

Name                    Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------
src/agent_observer.py      42      0      4      0   100%
src/charm.py               63      0     10      0   100%
src/charm_state.py         59      4      8      1    93%   114, 172-174
src/service.py             99      5     14      5    91%   94-96, 108->120, 135, 167, 204->208, 206->204
-------------------------------------------------------------------
TOTAL                     263      9     36      6    95%

Static code analysis report

Run started:2024-03-28 17:43:49.217527

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 1140
  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):

@arturo-seijas arturo-seijas merged commit f2a42f5 into main Apr 1, 2024
20 checks passed
@arturo-seijas arturo-seijas deleted the renovate/ops-2.x branch April 1, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant