The Charm Tech team has just released version 2.7.0 of ops
.
In addition to smaller improvements to docs, tests, and CI, there’s one new feature in ops.Unit
:
- We’ve added a new
set_ports()
method that allows you to manage which ports are open in a more declarative style than the olderopen_port()
andclose_port()
methods. We recommend that you useset_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).