Python Operator Framework 1.5.4 released

The Python Operator Framework team just released version 1.5.4 of the ops framework. This is a patch release with only a few minor changes:

  • Made harness.charm raise before begin (@PietroPasotti in #838)
  • Use Storage.index instead of deprecated Storage.id (@benhoyt in #854)
  • Add JujuVersion.has_secrets() (@beliaev-maksim in #855)
  • Reinstate reversion of add_relation_unit ValueError to warning (@benhoyt in #856)

See the full list of commits here.

The next release of ops will likely be 2.0.0, and will include support for Juju secrets, as well as update the minimum Python version from 3.5 (which is present on Ubuntu 16.04 Xenial) to version 3.8 (which is present on Ubuntu 20.04 Focal). The 2.x ops releases will be for use with Juju 3.0 and above.

We’ll continue to support the 1.5 ops releases using the 1.5-maintenance branch.

3 Likes