Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

chore(deps): update dependency ops to v2.16.1 #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 25, 2023

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

canonical/operator (ops)

v2.16.1: Don't have Harness alter os.environ

Compare Source

This is a small bug-fix release to address a regression in ops 2.16.0 where creating a Harness object would add a JUJU_VERSION to os.environ.

Fixes

Full Changelog: canonical/operator@2.16.0...2.16.1

v2.16.0

Compare Source

Features

Refactor

Fixes

Documentation

Tests

CI

v2.15.0

Compare Source

Features

  • Add support for Pebble check-failed and check-recovered events (#​1281)

Fixes

  • Pass secret data to Juju via files, rather than as command-line values (#​1290) fixing CVE-2024-41129
  • Include checks and log targets when merging layers in ops.testing (#​1268)

Documentation

  • Clarify distinction between maintenance and waiting status (#​1148)

CI

  • Bump the Go version to match Pebble (#​1285)
  • Run ruff format over charm pin update code (#​1278)
  • Bump certifi from 2024.2.2 to 2024.7.4 in /docs (#​1282)
  • Update charm pins (#​1269)

v2.14.1

Compare Source

Fixes

  • Add connect timeout for exec websockets to avoid hanging (#​1247)
  • Adjust Harness secret behaviour to align with Juju (#​1248)

Tests

  • Fix TypeError when running test.pebble_cli (#​1245)
  • Properly clean up after running setup_root_logging in test_log (#​1259)
  • Verify that defer() is not usable on stop,remove,secret-expired,secret-rotate (#​1233)

Documentation

  • Fix HACKING.md link on PyPI, and internal links (#​1261, #​1236)
  • Add a section to HACKING.md on PR titles (commit messages to main) (#​1252)
  • Add release step to update pinned charm tests (#​1213)
  • Add a security policy (#​1266)

CI

  • Only run tests once on push to PR (#​1242)
  • Validate PR title against conventional commit rules in (#​1262)
  • Only update ops, not all dependencies, in charm tests in (#​1275)
  • Add artefact attestation (#​1267)

v2.14.0

Compare Source

Features

  • Add a __str__ to ActionFailed, for better unexpected failure output (#​1209)

Fixes

  • The other argument to RelatationDataContent.update(...) should be optional (#​1226)

Documentation

  • Use the actual emoji character rather than GitHub markup, to show properly on PyPI (#​1221)
  • Clarify that SecretNotFound may be raised for permission errors (#​1231)

Refactoring

v2.13.0

Compare Source

Features

  • Added support for user secrets in Harness (#​1176)

Fixes

  • Corrected the model config types (#​1183)
  • In Harness, only inspect the source file if it will be used - this fixed using Harness in a Python REPL (#​1181)

Documentation

  • Updated publishing a release in HACKING.md (#​1173)
  • Added tox -e docs-deps to compile requirements.txt (#​1172)
  • Updated doc to note deprecated functionality in (#​1178)

Tests

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)

v2.11.0

Compare Source

Features

  • StopEvent, RemoveEvent, and all LifeCycleEvents are no longer deferrable, and will raise a RuntimeError if defer() is called on the event object (#​1122)
  • Add ActionEvent.id, exposing the JUJU_ACTION_UUID environment variable (#​1124)
  • Add support for creating pebble.Plan objects by passing in a pebble.PlanDict, the
    ability to compare two Plan objects with ==, and the ability to create an empty Plan with Plan() (#​1134)

Fixes

  • The remote app name (and its databag) is now consistently available in relation-broken events (#​1130)

Documentation

  • Improve the can_connect() API documentation (#​1123)

Tooling

v2.10.0

Compare Source

Features

  • Add support for Pebble Notices (PebbleCustomNoticeEvent, get_notices, and so on) (#​1086, #​1100)
  • Add Relation.active, and excluded inactive relations from Model.relations (#​1091)
  • Add full support for charm metadata v2 (in particular, extended ContainerMeta,
    and various info links in CharmMeta) (#​1106)
  • When handling actions, print uncaught exceptions to stderr (#​1087)
  • Raise ModelError in Harness if an invalid status is set (#​1107)

Fixes

  • Add Pebble log targets and checks to testing plans (#​1111)
  • CollectStatusEvent is now a LifecycleEvent (#​1080)

Documentation

  • Update README to reflect charmcraft init changes (#​1089)
  • Add information on pushing locked/bind-mount files (#​1094)
  • Add instructions for using a custom version of ops to HACKING (#​1092)

Tooling

  • Use pyproject.toml for building (#​1068)
  • Update to the latest version of Pyright (#​1105)

v2.9.0

Compare Source

Features

  • Add log target support to ops.pebble layers and plans (#​1074)
  • Add Harness.run_action(), testing.ActionOutput, and testing.ActionFailed (#​1053)

Fixes

  • Secret owners no longer auto-peek, and can use refresh, in Harness, and corrected secret access for non-leaders (#​1067, #​1076)
  • Test suite adjustments to pass with Python 3.12 (#​1081)

Documentation

  • Refresh README (#​1052)
  • Clarify how custom events are emitted (#​1072)
  • Fix the Harness.get_filesystem_root example (#​1065)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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
Copy link
Contributor Author

renovate bot commented Oct 25, 2023

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.

@renovate renovate bot changed the title chore(deps): update dependency ops to v2.8.0 chore(deps): update dependency ops to v2.9.0 Nov 30, 2023
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 8599389 to b2b5218 Compare November 30, 2023 01:21
@renovate renovate bot force-pushed the renovate/ops-2.x branch from b2b5218 to 5b5b726 Compare January 31, 2024 03:02
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.9.0 chore(deps): update dependency ops to v2.10.0 Jan 31, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 5b5b726 to c449c71 Compare February 7, 2024 12:25
@renovate renovate bot force-pushed the renovate/ops-2.x branch 3 times, most recently from b95c6f9 to 4ac6217 Compare February 29, 2024 08:12
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.10.0 chore(deps): update dependency ops to v2.11.0 Feb 29, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 4ac6217 to 0fa469d Compare March 28, 2024 16:40
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.11.0 chore(deps): update dependency ops to v2.12.0 Mar 28, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 0fa469d to 2260745 Compare May 1, 2024 09:08
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.12.0 chore(deps): update dependency ops to v2.13.0 May 1, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 2260745 to bef54a0 Compare May 29, 2024 04:02
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.13.0 chore(deps): update dependency ops to v2.14.0 May 29, 2024
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.14.0 chore(deps): update dependency ops to v2.14.1 Jun 27, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from bef54a0 to 0a65f28 Compare June 27, 2024 04:28
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 0a65f28 to 1c7b97b Compare July 22, 2024 08:24
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.14.1 chore(deps): update dependency ops to v2.15.0 Jul 22, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from 1c7b97b to b6efdfb Compare August 29, 2024 09:08
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.15.0 chore(deps): update dependency ops to v2.16.0 Aug 29, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from b6efdfb to fad2f9f Compare September 5, 2024 07:02
@renovate renovate bot changed the title chore(deps): update dependency ops to v2.16.0 chore(deps): update dependency ops to v2.16.1 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/ops-2.x branch from fad2f9f to b30d0c6 Compare September 6, 2024 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants