You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running:
LIBJUJU_VERSION_SPECIFIER=3.1.2.0 tox -e unit
Resolves the issue. I believe we can move to 3.1 by default on our tox.ini, and have some CI tests to check 2.9 compatibility as this is the newer supported version.
The text was updated successfully, but these errors were encountered:
After some further investigation, the main reason was a missing dependency in tox's unit tests. With secrets, we had to add a checker for juju version, and originally we were using python-libjuju for that.
We do not need python-libjuju in unit test.
Instead of checking the lib, use LIBJUJU_VERSION_SPECIFIER as the
variable containing the Juju version directly.
Resolves issue: #117
Running our unit tests against latest main branch.
I've setup a lxc container and ran on it:
Output: https://pastebin.ubuntu.com/p/jx73gwBXKP/
Running:
LIBJUJU_VERSION_SPECIFIER=3.1.2.0 tox -e unit
Resolves the issue. I believe we can move to 3.1 by default on our tox.ini, and have some CI tests to check 2.9 compatibility as this is the newer supported version.
The text was updated successfully, but these errors were encountered: