The Charm Tech team has just released version 2.7.0 of
In addition to smaller improvements to docs, tests, and CI, there’s one new feature in
- We’ve added a new
set_ports()method that allows you to manage which ports are open in a more declarative style than the older
close_port()methods. We recommend that you use
set_ports()for port management going forward. Implemented in PR 1005.
It’s available from PyPI by using
pip install ops, which should pick up the latest version (pin with
ops==2.7.0 if you want to pin to a specific version).