File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ class RMPyToolsSetup(paella.Setup):
72
72
73
73
def macos(self):
74
74
self.pip_install(" psutil==5.8.0" )
75
+ # without this, RLTest installation may fail (pip install does not install dev dependencies)
76
+ self.pip_install(" poetry" )
75
77
76
78
def alpine(self):
77
79
self.install(" linux-headers" )
@@ -87,18 +89,20 @@ class RMPyToolsSetup(paella.Setup):
87
89
self.rltest_version = ' master'
88
90
self.ramp_version = ' master'
89
91
92
+ redis_py_cluster_installed = False
90
93
if self.redispy_version is None:
91
94
if self.modern:
92
95
self.pip_install(" --no-cache-dir redis~=4.2.2" )
93
96
else:
94
97
self.pip_install(
" --no-cache-dir git+https://github.com/redisfab/[email protected] " )
95
98
96
99
self.pip_install(
" --no-cache-dir git+https://github.com/redisfab/[email protected] " )
100
+ redis_py_cluster_installed = True
97
101
else:
98
102
self.pip_install(" --no-cache-dir git+https://github.com/{ORG}/redis-py.git@{VER}" .\
99
103
format(ORG=self.redispy_org, VER=self.redispy_version))
100
104
101
- if not self.master and not self.modern:
105
+ if not self.master and not self.modern and not redis_py_cluster_installed :
102
106
# redis-py-cluster should be installed from git due to redis-py dependency
103
107
# self.pip_install("--no-cache-dir git+https://github.com/Grokzen/redis-py-cluster.git@master")
104
108
# self.pip_install("--no-cache-dir redis-py-cluster")
You can’t perform that action at this time.
0 commit comments