From f607cbe333941a232accdb01960dedd7a2d477c4 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh <567675+ajkavanagh@users.noreply.github.com> Date: Thu, 11 Aug 2022 18:29:47 +0100 Subject: [PATCH] Pin libjuju < 3.0 for stable branches (#550) The stable versions of zaza & zaza-openstack-tests may break compatibility with libjuju (import juju) over time, so pin to < 3.0 which is known to work. It's definitely broken with the stable/ussuri branch of zaza. --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index f3afabb66..cfa9f59c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ pyparsing<3.0.0 # pin for aodhclient which is held for py35 aiounittest async_generator +juju<3.0 kubernetes<18.0.0; python_version < '3.6' # pined, as juju uses kubernetes -juju juju_wait PyYAML>=3.0 flake8>=2.2.4 diff --git a/setup.py b/setup.py index dce640bfe..a1383c19a 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ 'hvac<0.7.0', 'jinja2', - 'juju', + 'juju<3.0', 'juju-wait', 'PyYAML', 'tenacity',