The Juju team is proud to release Pylibjuju 3.0.2!
Pylibjuju enables you to drive Juju from Python, easing operations from day 2 and beyond. It is a toolkit for adding automation to your projects. Pylibjuju enables you to manage your Juju controllers, models, applications and units.
This is a release of the Pylibjuju 3.0, which corresponds to the Juju 3.0 track.
How do I get it?
The best way to get your hands on this release of Pylibjuju is to use pypi:
pip install juju
What’s Changed
This release officially drops the support for Python 3.5
. As @jack-shaw pointed out in his review of the release, this is normally a bit larger change for a point-release. However, it was previously planned as one of the breaking changes to be in the 2.9 -> 3.0
transition (to be aligned with the Juju’s 3.0
changes), which did include a couple of breaking changes in the pylibjuju 3.0.0
release. Drop py35 was just a little late for that action.
We’re still in the process of getting the hang of the semantic versioning in unison with Juju and currently still a little ahead of Juju’s 3.0
schedule, therefore we’re keeping this a point release to stay aligned as much as possible and avoid confusion, as making a minor version bump at this point (e.g. 3.1..
) would make things more unclear.
- Model name can now be accessed through model.name by @jack-w-shaw in https://github.com/juju/python-libjuju/pull/702
- [JUJU-1593] Fix
unit.run()
and update the old client codes by @cderici in https://github.com/juju/python-libjuju/pull/710 - Add py.typed marker by @sed-i in https://github.com/juju/python-libjuju/pull/709
- [JUJU-1664] Add force, no-wait, destroy-storage params to app.destroy by @cderici in https://github.com/juju/python-libjuju/pull/714
- snapcraft.io access should use https requests by @addyess in https://github.com/juju/python-libjuju/pull/715
- [JUJU-1680] Add issue and PR templates by @cderici in https://github.com/juju/python-libjuju/pull/718
- [JUJU-1681] Add --attach-storage parameter to model.deploy by @cderici in https://github.com/juju/python-libjuju/pull/720
- [JUJU-1706] Allow waiting for
wait_for_exact_units=0
by @cderici in https://github.com/juju/python-libjuju/pull/723 - [JUJU-1663] Drop Python 3.5 support from python-libjuju by @cderici in https://github.com/juju/python-libjuju/pull/722
- [JUJU-1671] Charmhub url from model config by @cderici in https://github.com/juju/python-libjuju/pull/724
- [JUJU-1733] Revisit unitrun example by @cderici in https://github.com/juju/python-libjuju/pull/725
- [JUJU-1800] Revise the
application.upgrade_charm()
(refresh) by @cderici in https://github.com/juju/python-libjuju/pull/729 - [JUJU-1893] Revisit
charmhub.info()
by @cderici in https://github.com/juju/python-libjuju/pull/737
Full Changelog: https://github.com/juju/python-libjuju/compare/3.0.1...3.0.2
Feedback Appreciated!
We encourage everyone to let us know how you’re using Pylibjuju. Please ask questions on on Discourse, send us a message on Twitter using the hashtag #jujucharms.