From c5fb81d70d5d2062fba19d7b6f971f3ce9ebbb46 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Fri, 8 Dec 2023 14:35:42 -0500 Subject: [PATCH] Pin juju<2.9.45.0 for py3.6 and py3.7 Starting at 2.9.45.0 the walrus operator is used, but it is not supported until py3.8. --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 89858c79..ea8c7878 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ pyparsing<3.0.0 # pin for aodhclient which is held for py35 aiounittest async_generator -juju<3.0 +juju<2.9.45.0; python_version < '3.8' +juju<3.0; python_version >= '3.8' kubernetes<18.0.0; python_version < '3.6' # pined, as juju uses kubernetes juju_wait PyYAML>=3.0