chore(deps): update dependency ops to v2.2.0 - autoclosed
Metadata
Current evaluation
Unmerged ops 2.2.0 update was autoclosed; template work landed in #1055, then Charmcraft removed its ops dependency in merged #1064 (df7e0414).
Resolution: closed superseded
Reason: The dependency update was never merged. PR #1055 updated charm templates for ops 2.2.0, and PR #1064 later removed the ops dependency in commit df7e0414.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Unmerged ops 2.2.0 update was autoclosed; template work landed in #1055, then Charmcraft removed its ops dependency in merged #1064 (df7e0414). | |
| stealth/space-bunny-alpha | — | closed superseded | Autoclosed unmerged; ops was later removed from Charmcraft's project dependencies by merged PR #1064 (df7e0414). | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/charmcraft#1064
(confidence 100%)
Merged commit df7e0414 removed Charmcraft's ops dependency, making the proposed version bump unnecessary.
-
Superseded By:
canonical/charmcraft#1055
(confidence 96%)
Merged commit 8f77e7fb updated charm templates to use ops 2.2.0 and the simplified import style.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1009 chore(deps): update dependency ops to v2 | charmcraft | merged | Renovate PR bumping ops==1.5.4 to 2.0.0 in the spread dependencies requirements (1 file, +1/-1) was merged into main via merge commit 77df49c3; the pin has since progressed to ops==2.15.0. | |
| #52 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | imagecraft | closed | Renovate PR #52 was not merged and was autoclosed; canonical/imagecraft#308 later moved requests to 2.33.0. | |
| #61 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | imagecraft | closed | Renovate's requests 2.32.2 update was autoclosed unmerged; requests was later updated to 2.33.0 by merged PR #308 (commit cbca1c1). | |
| #1342 chore(deps): update dependency craft-cli to v2.3.0 | charmcraft | merged | Renovate PR #1342 was merged, updating craft-cli from 2.1.0 to 2.3.0 in commit 03c0bab0. | |
| #1353 chore(deps): update all dependencies | charmcraft | merged | Merged charmcraft#1353 via commit 18b4d9d7, updating all dependencies across three files (+23/-24). | |
| #1689 chore(deps): update dependency requests to v2.32.0 [security] - autoclosed | charmcraft | closed | Renovate’s requests 2.32.0 security update was autoclosed unmerged after 864 days, with no reviews, comments, or CI checks. | |
| #4856 chore(deps): update dependency requests to v2.32.2 [security] - autoclosed | snapcraft | closed | PR #4856 was autoclosed without merge; the same requests 2.32.2 security update later landed via #5064 (ec4f9b16f). | |
| #1355 chore(deps): update internal dependencies | charmcraft | merged | Merged internal dependency updates in charmcraft#1355 as commit af5aeeb4, changing two files (+4/-4) after approval from four reviewers. | |
| #68 chore(deps): update dependency pydantic_core to v2.27.2 - autoclosed | imagecraft | closed | Renovate's pydantic_core 2.27.2 bump in #68 was autoclosed unmerged after inactivity; no resolving commit or replacement PR was identified. | |
| #1281 chore(deps): update dependency craft-providers to v1.18.0 - autoclosed | charmcraft | closed | Renovate's craft-providers 1.18.0 bump was auto-closed unmerged; the identical update landed via PR #1294 in commit 59b70f01, bumping the pin in two dependency files (+2/-2). |