Skip to content

Commit e9e752d

Browse files
committed
Deny the use of libjuju 2.9.46
The python-libjuju 2.9.46 release introduced the use of the walrus operator which is incompatible with python 3.6, more details at juju/python-libjuju#993
1 parent 007b9db commit e9e752d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
pyparsing<3.0.0 # pin for aodhclient which is held for py35
22
aiounittest
33
async_generator
4-
juju<3.0
4+
# 2.9.46.0 - https://github.com/juju/python-libjuju/pull/993
5+
juju<3.0,!=2.9.46.0
56
kubernetes<18.0.0; python_version < '3.6' # pined, as juju uses kubernetes
67
juju_wait
78
PyYAML>=3.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
'hvac<0.7.0',
3737
'jinja2',
38-
'juju<3.0',
38+
# 2.9.46.0 - https://github.com/juju/python-libjuju/pull/993
39+
'juju<3.0,!=2.9.46',
3940
'juju-wait',
4041
'PyYAML',
4142
'tenacity',

0 commit comments

Comments
 (0)