Skip to content

Commit

Permalink
Deny the use of libjuju 2.9.45 and 2.9.46
Browse files Browse the repository at this point in the history
The python-libjuju 2.9.45 release introduced the use of the walrus
operator which is incompatible with python 3.6, more details at
juju/python-libjuju#993
  • Loading branch information
freyes committed Dec 14, 2023
1 parent 007b9db commit 776675b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pyparsing<3.0.0 # pin for aodhclient which is held for py35
aiounittest
async_generator
juju<3.0
# 2.9.45.0 - https://github.com/juju/python-libjuju/pull/993
juju<3.0,!=2.9.45.0,!=2.9.46.0
kubernetes<18.0.0; python_version < '3.6' # pined, as juju uses kubernetes
juju_wait
PyYAML>=3.0
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

'hvac<0.7.0',
'jinja2',
'juju<3.0',
# 2.9.45.0 - https://github.com/juju/python-libjuju/pull/993
'juju<3.0,!=2.9.45,!=2.9.46',
'juju-wait',
'PyYAML',
'tenacity',
Expand Down

0 comments on commit 776675b

Please sign in to comment.