The Charm Tech team has just released version 2.2 of ops
.
The main features are Harness.add_network
to add simulated data (in charm tests) for the bind address and network info, and the addition of imported names to the top level ops
package so charmers can just import ops
and use ops.Foo
directly.
It’s available from PyPI by using pip install ops
, which should pick up the latest version (pin with ops==2.2.0
if you want to pin to a specific version).
Various other minor changes are included as well. See the full release notes.