chore(deps): update dependency ops to v2.2.0 - autoclosed
Metadata
Current evaluation
Renovate automatically closed the PR updating ops to v2.2.0. No manual review or merge occurred, likely due to staleness or a newer update superseding it.
Suggested action: —
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ops](https://togithub.com/canonical/operator) | `==2.0.0` -> `==2.2.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### ⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
---
### Release Notes
<details>
<summary>canonical/operator</summary>
### [`v2.2.0`](https://togithub.com/canonical/operator/releases/tag/2.2.0): : Harness.add_network, simplified "import ops"
[Compare Source](https://togithub.com/canonical/operator/compare/2.1.1...2.2.0)
This is version 2.1.0 of ops, which includes the following changes:
#### Harness.add_network
In [#​846](https://togithub.com/canonical/operator/issues/846) we added [Harness.add_network](https://ops.readthedocs.io/en/latest/#ops.testing.Harness.add_network), which allows developers who write charm unit tests to easily add simulated data for the bind address and network information. This is a small but long-requested feature that will avoid charmers patching internal ops methods. Fixes [#​456](https://togithub.com/canonical/operator/issues/456).
#### Simplified way to `import ops`
In [#​910](https://togithub.com/canonical/operator/pull/910) we added a simplified way to `import ops`: it pulls most of the names in the various `ops.foo` sub-modules into the top-level `ops` module so that charmers don’t have to remember which sub-module each class comes from. This also makes the various ops classes more discoverable with an IDE’s autocomplete. Fixes [#​731](https://togithub.com/canonical/operator/issues/731).
#### Other minor changes
There are also a few other minor changes, including the addition of `Layer.__eq__` to allow you to compare `pebble.Layer` objects with the `==` operator. See the [full list of commits in this release](https://togithub.com/canonical/operator/compare/2.1.1...2.2.0).
### [`v2.1.1`](https://togithub.com/canonical/operator/releases/tag/2.1.1): (fixes install issues with 2.1.0)
[Compare Source](https://togithub.com/canonical/operator/compare/2.1.0...2.1.1)
This patch release fixes issues with the missing `requirements.txt` file during `pip install`: [https://github.com/canonical/operator/pull/914](https://togithub.com/canonical/operator/pull/914).
### [`v2.1.0`](https://togithub.com/canonical/operator/releases/tag/2.1.0)
[Compare Source](https://togithub.com/canonical/operator/compare/2.0.0...2.1.0)
This is version 2.1.0 of `ops`, which includes the following changes:
##### Open-port support
We added Pythonic APIs to interface to the `open-port`, `close-port`, and `opened-ports` hook tools in PR [#​905](https://togithub.com/canonical/operator/issues/905). This allows charms to ask Juju to open ports in VM charms and in K8s sidecar charms (with some issues in the latter being fixed in [https://github.com/juju/juju/pull/15225](https://togithub.com/juju/juju/pull/15225)). See the [`Unit.open_port()` API reference](https://ops.readthedocs.io/en/latest/#ops.model.Unit.open_port).
##### Other minor changes
- Use f-strings (almost) everywhere ([#​889](https://togithub.com/canonical/operator/issues/889))
- Un-vendor websocket library ([#​891](https://togithub.com/canonical/operator/issues/891)) -- thanks [@​tinvaan](https://togithub.com/tinvaan)
- A few minor tweaks now that we're on Python 3.8 ([#​890](https://togithub.com/canonical/operator/issues/890))
- Define all dependences in requirements files ([#​894](https://togithub.com/canonical/operator/issues/894)) -- thanks [@​tinvaan](https://togithub.com/tinvaan)
- Make testing pull() raise pebble.PathError and improve docs ([#​897](https://togithub.com/canonical/operator/issues/897))
- Don't call secret-info-get with both ID and label ([#​900](https://togithub.com/canonical/operator/issues/900))
- Add ops.lib deprecation notice ([#​901](https://togithub.com/canonical/operator/issues/901))
- Add debug logging for custom events ([#​843](https://togithub.com/canonical/operator/issues/843)) -- thanks [@​PietroPasotti](https://togithub.com/PietroPasotti)
- Replace "# type: T" comments with proper variable type annotations ([#​904](https://togithub.com/canonical/operator/issues/904))
View the [full list of commits between 2.0.0 and 2.1.0](https://togithub.com/canonical/operator/compare/2.0.0...34e5dfb).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuNyIsInVwZGF0ZWRJblZlciI6IjM1LjMyLjIifQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Renovate automatically closed the PR updating ops to v2.2.0. No manual review or merge occurred, likely due to staleness or a newer update superseding it. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Automatically closed by Renovate due to staleness. The ops dependency update to v2.2.0 was not merged and the branch was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Automatically closed by Renovate due to inactivity or being superseded. The ops dependency update to v2.2.0 was abandoned and never merged, as automerge was disabled and no manual intervention occurred. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1009 chore(deps): update dependency ops to v2 | charmcraft | merged | Merged automated dependency update upgrading ops from v1.5.4 to v2.0.0. Approved by a reviewer, passed CI checks, and successfully integrated. | |
| #4856 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | snapcraft | closed | Renovate's dependency update PR for requests to v2.32.2 was autoclosed without merging. The bot automatically closed the stale pull request, leaving the CVE-2024-35195 security fix unapplied. | |
| #4812 chore(deps): update dependency requests to v2.32.0 [security] - autoclosed | snapcraft | closed | Renovate pull request updating requests to v2.32.0 to address CVE-2024-35195 was autoclosed without merging. The dependency update was likely handled separately or the branch expired. | |
| #1689 chore(deps): update dependency requests to v2.32.0 [security] - autoclosed | charmcraft | closed | Renovate bot dependency update to requests v2.32.0 for CVE-2024-35195 was autoclosed. The branch was abandoned without review or merge, as the update was likely already applied or superseded. | |
| #61 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | imagecraft | closed | Security dependency update for requests to v2.32.2 was autoclosed without merging. Renovate superseded it with a newer update or closed it due to inactivity. No changes were applied. | |
| #1391 chore(deps): update patch updates - autoclosed | charmcraft | closed | Automated dependency patch updates were autoclosed by Renovate, likely superseded by newer updates or closed due to staleness. The branch was not merged or manually reviewed. | |
| #52 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | imagecraft | closed | Renovate autoclosed the PR due to inactivity. The security update to requests v2.32.2 for CVE-2024-35195 was not merged or reviewed. The branch remains abandoned. | |
| #28 chore(deps): update dependency pydantic to v2 - autoclosed | craft-grammar | closed | Renovate autoclosed this pydantic v2 dependency update without merging. The pull request received no reviews or CI checks and was automatically closed, indicating it was superseded or abandoned. | |
| #964 chore(deps): update dependency attrs to v22.2.0 | charmcraft | merged | Merged automated dependency update upgrading attrs from v22.1.0 to v22.2.0. Approved by a reviewer, passed CI checks, and merged with minimal changes across two files. | |
| #4 chore(deps): update development dependencies (minor and patch) | craft-actions | closed | Automated development dependency updates were closed without merging. The Renovate bot confirmed the closure, will ignore this update, and will generate a replacement PR for newer versions. |