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: bump ops from 2.10.0 to 2.11.0 #74

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 29, 2024

Bumps ops from 2.10.0 to 2.11.0.

Release notes

Sourced from ops's releases.

2.11.0 Marking additional events as non-defer()able, and other minor improvements

This release marks additional events as not suitable for deferring: StopEvent, RemoveEvent, and the LifecycleEvents: CollectStatusEvent, CommitEvent, and PreCommitEvent. The defer() method on these event classes is marked as NoReturn and calling it will raise a RuntimeError.

Features

Fixes

Documentation

Tooling

Full Changelog: canonical/operator@2.10.0...2.11.0

Changelog

Sourced from ops's changelog.

2.11.0

  • StopEvent, RemoveEvent, and all LifeCycleEvents are no longer deferrable, and will raise a RuntimeError if defer() is called on the event object.
  • The remote app name (and its databag) is now consistently available in relation-broken events.
  • Added ActionEvent.id, exposing the JUJU_ACTION_UUID environment variable.
  • Added 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().
Commits
  • b601088 Bump version number. (#1140)
  • 9c0f44b Use more compatible ruff and isort options. (#1139)
  • c623461 fix(testing): set JUJU_REMOTE_APP and allow fetching relation data in relatio...
  • 9664fd1 feat: add the ability to compare two Plan objects with == and create a Plan f...
  • 1836df5 chore: expand ruff rule sets and make corresponding minor adjustments (#1114)
  • 9a72677 docs: tweak the wording around can_connect() usage (#1123)
  • c061667 feat: only have a defer() method on events that can be deferred (#1122)
  • b13ee4c feat: add the action's ID to the ActionEvent object (#1124)
  • 2f304d3 chore: bump version string for working on the next release (#1118)
  • 5f7079a Change to ruff for linting. (#1120)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ops](https://github.com/canonical/operator) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/canonical/operator/releases)
- [Changelog](https://github.com/canonical/operator/blob/main/CHANGES.md)
- [Commits](canonical/operator@2.10.0...2.11.0)

---
updated-dependencies:
- dependency-name: ops
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner February 29, 2024 04:50
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 29, 2024
@markbeierl markbeierl merged commit ee8dda8 into main Feb 29, 2024
10 checks passed
@markbeierl markbeierl deleted the dependabot/pip/ops-2.11.0 branch February 29, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants