Python-libjuju 3.6.1.0 release notes

We’re very happy to announce the release of python-libjuju 3.6.1.0!

A new implementation of Model.wait_for_idle() is now available, behind a feature flag:

  • the old implementation was accidentally quadratic, matters when testing large models
  • set JUJU_NEW_WAIT_FOR_IDLE to 1/True/true/whatever to enable
  • not set, set to an empty string or 0/False/false to use the old implementation
  • if you use tox, remember to whitelist this env var in passenv (or set it via env)

This new implementation is a first major step towards supporting Juju 4.0.

Changes:

  • add 3.5.5 schema and update SCHEMAS.md #1223
  • feat: larger default websockets frame size #1239
  • deprecate juju.jasyncio #1221
  • remove juju.loop, deprecated before 3.0 #1242
  • new wait for idle implementation, behind a feature flag JUJU_NEW_WAIT_FOR_IDLE #1245

This release includes the first contribution by @edmilsonrodrigues, hooray :tada:

Grab it from https://pypi.org/project/juju/

Full details here:

3 Likes