The Charm Tech team has just released version 2.8.0 of ops.
In addition to smaller improvements to docs, and tests, there’s one new feature in ops.Unit:
- We’ve added a new
reboot()method that allows rebooting a machine (not applicable for K8s charms). Implemented in PR 1041.
We’ve also fixed a couple of small bugs:
-
push_pathandpull_pathnow include empty directories - PR 1024 - collected statuses are reset in
Harness.evaluate_status- PR 1048
It’s available from PyPI by using pip install ops, which should pick up the latest version (pin with ops==2.8.0 if you want to pin to a specific version).