It looks to me like there isn't yet a release of python-libjuju that supports juju 3.1.1. The latest release (3.1.0.1) was on Feb 10, but I see unreleased work in python-libjuju from 2 weeks ago[1] that adds support for the 3.1.1 facades.
For now, I'm guessing you might need to install python-libjuju directly from git/master to get something that works with 3.1.1.
I'll leave this issue open since we will need to update our dependency whenever the new version of python-libjuju is released.
It looks to me like there isn't yet a release of python-libjuju that supports juju 3.1.1. The latest release (3.1.0.1) was on Feb 10, but I see unreleased work in python-libjuju from 2 weeks ago[1] that adds support for the 3.1.1 facades.
For now, I'm guessing you might need to install python-libjuju directly from git/master to get something that works with 3.1.1.
I'll leave this issue open since we will need to update our dependency whenever the new version of python-libjuju is released.
[1]: https:/ /github. com/juju/ python- libjuju/ pull/807