Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2025

This PR contains the following updates:

Package Change Age Confidence
ops (changelog) ==2.23.0 -> ==3.1.0 age confidence

Release Notes

canonical/operator (ops)

v3.1.0

Compare Source

Features

  • Release automation script (#​1855)
  • Add app_name and unit_id attributes to testing.context (#​1920)

Fixes

  • If an event ends with _abort(0) tests should behave as if it ended successfully (#​1887)
  • If self.app is not actually set avoid a new crash location (#​1897)
  • Only add the remote unit for departed and broken relation events, fix ordering (#​1918)
  • Add the remote unit to relation.data but not relation.units (#​1925)

Documentation

  • Use load_config in the httpbin example charm (#​1852)
  • Update HACKING.md with how to bump ops version in Charmcraft profiles (#​1872)
  • Change title of docs site (#​1890)
  • Use config and action classes in the Kubernetes tutorial (#​1891)
  • Reference example charms from K8s tutorial and fix consistency (#​1898)
  • Update style guide (#​1720)
  • Fix issues in how-to guide for stored state (#​1901)
  • Link out to the 12-factor tutorials from the tutorial index page (#​1902)
  • Replace broken link in testing explanation (#​1913)
  • Expand the storage how-to with content from Juju docs scheduled for removal (#​1915)
  • Ops tracing how to (#​1853)
  • Add a security explanation doc (#​1904)

Tests

  • Replace Python version to 3.10 for observability charm tests (#​1914)

CI

  • Use httpbin demo charm for the Charmcraft pack test (#​1895)
  • Move TIOBE workflow to self-hosted runners (#​1912)
  • Add SBOM generation and secscan workflow (#​1906)
  • Build and publish in one step (#​1857)
  • Update the name and email when updating the charm pins (#​1924)
  • Drop smoke test against 20.04 (#​1923)

v3.0.0

Compare Source

The minimum version of Python for Ops 3.x is 3.10.

Documentation

  • Be consistent with recommending self.app and self.unit (#​1856)

CI

  • Hotfix, publish job for ops-tracing (#​1865)

v2.23.1: : Add the remote unit to Relation.data, but not Relation.units

Compare Source

This is a small bug-fix release for the 2.x series that addresses issues with the recent feature making relation data available in relation-departed events. Rather than inserting the remote unit into Relation.units, the data is available from Relation.data, without changing Relation.units.

What's Changed

Fixes
Documentation
CI

Full Changelog: canonical/operator@2.23.0...2.23.1


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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 2, 2025 16:31
@renovate renovate bot requested review from seb4stien and Thanhphan1147 July 2, 2025 16:31
@renovate renovate bot force-pushed the renovate/ops-3.x branch from f0ed9e0 to febc1a2 Compare July 4, 2025 20:56
@renovate renovate bot force-pushed the renovate/ops-3.x branch from 3139cea to 49a5837 Compare July 16, 2025 14:09
@nrobinaubertin
Copy link
Collaborator

This is blocked because of our base remaining on 20.04 for now: #178

@renovate renovate bot force-pushed the renovate/ops-3.x branch from 63cb884 to 276b6cd Compare July 18, 2025 21:43
Copy link
Contributor

Test results for commit 276b6cd

Test coverage for 276b6cd

Name              Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------
src/charm.py        389     42     96     16    88%   187, 195-196, 208, 268->272, 316, 377->385, 409->414, 426, 616-618, 623-624, 636-638, 643-644, 656-658, 681-683, 725->exit, 784-787, 797-798, 822-823, 835-836, 863-865, 867->872, 869-870, 912-913, 929-930, 940->exit, 954
src/database.py      29      1      8      1    95%   56
-------------------------------------------------------------
TOTAL               418     43    104     17    88%

Static code analysis report

Run started:2025-07-18 21:45:48.214182

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 2683
  Total lines skipped (#nosec): 2
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 3

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):

@renovate renovate bot force-pushed the renovate/ops-3.x branch from 276b6cd to 689c962 Compare August 5, 2025 14:29
@amandahla amandahla closed this Aug 5, 2025
Copy link
Contributor Author

renovate bot commented Aug 5, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/ops-3.x branch August 5, 2025 14:35
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.

4 participants