Skip to content

Commit 8ae6768

Browse files
committed
updated centos7 version, fixed awscli problem
1 parent 42038c1 commit 8ae6768

File tree

4 files changed

+16
-23
lines changed

4 files changed

+16
-23
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.NOTPARALLEL:
22

3-
# OSNICK=buster|stretch|xenial|bionic|centos6|centos7|centos8|fedora30
3+
# OSNICK=buster|stretch|trusty|xenial|bionic|centos6|centos7|centos8|fedora30
44
OSNICK ?= buster
55

66
# OS ?= debian:buster-slim
@@ -19,10 +19,10 @@ OS.focal=ubuntu:focal
1919
OS.stretch=debian:stretch-slim
2020
OS.buster=debian:buster-slim
2121
OS.centos6=centos:6.10
22-
OS.centos7=centos:7.6.1810
22+
OS.centos7=centos:7.8.2003
2323
OS.centos8=centos:8
24-
OS.fedora=fedora:30
25-
OS.fedora30=fedora:30
24+
OS.fedora=fedora:33
25+
OS.fedora33=fedora:33
2626
OS:=$(OS.$(OSNICK))
2727

2828
ifeq ($(OS),)

modules/ai/system-setup.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ def __init__(self, nop=False):
1919
def common_first(self):
2020
self.install_downloaders()
2121
self.setup_pip()
22-
self.pip3_install("wheel virtualenv")
23-
self.pip3_install("setuptools --upgrade")
22+
self.pip_install("wheel virtualenv")
23+
self.pip_install("setuptools --upgrade")
2424

2525
if self.os == 'linux':
2626
self.install("ca-certificates")
27-
self.install("git cmake unzip wget patchelf awscli")
27+
self.install("git cmake unzip wget patchelf")
2828
self.install("coreutils") # for realpath
2929

3030
def debian_compat(self):
@@ -43,7 +43,7 @@ def redhat_compat(self):
4343
else:
4444
self.run("amazon-linux-extras install epel", output_on_error=True)
4545
self.install("python3 python3-devel")
46-
self.pip3_install("psutil")
46+
self.pip_install("psutil")
4747

4848
self.install_git_lfs_on_linux()
4949

@@ -64,15 +64,16 @@ def macosx(self):
6464

6565
def common_last(self):
6666
# redis-py-cluster should be installed from git due to redis-py dependency
67-
self.pip3_install("--no-cache-dir git+https://github.com/Grokzen/redis-py-cluster.git@master")
67+
self.pip_install("--no-cache-dir git+https://github.com/Grokzen/redis-py-cluster.git@master")
6868
# the following can be probably installed from pypi
69-
self.pip3_install("--no-cache-dir git+https://github.com/RedisLabsModules/RLTest.git@master")
70-
self.pip3_install("--no-cache-dir git+https://github.com/RedisLabs/RAMP@master")
69+
self.pip_install("--no-cache-dir git+https://github.com/RedisLabsModules/RLTest.git@master")
70+
self.pip_install("--no-cache-dir git+https://github.com/RedisLabs/RAMP@master")
7171

7272
root = os.path.join(os.path.dirname(__file__), "..")
73-
# self.pip3_install("-r {}/test/test_requirements.txt".format(root))
73+
# self.pip_install("-r {}/test/test_requirements.txt".format(root))
7474

75-
self.pip3_install("mkdocs mkdocs-material mkdocs-extensions")
75+
self.pip_install("awscli")
76+
self.pip_install("mkdocs mkdocs-material mkdocs-extensions")
7677

7778
#----------------------------------------------------------------------------------------------
7879

modules/search/system-setup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def common_first(self):
1919
self.pip_install("wheel")
2020
self.pip_install("setuptools --upgrade")
2121

22-
self.install("git cmake wget awscli lcov")
22+
self.install("git cmake wget lcov")
2323

2424
def debian_compat(self):
2525
self.install("libatomic1")
@@ -31,10 +31,6 @@ def redhat_compat(self):
3131
self.group_install("'Development Tools'")
3232
self.install("redhat-lsb-core")
3333

34-
# uninstall and install psutil (order is important), otherwise RLTest fails
35-
# self.run("pip uninstall -y psutil || true")
36-
self.install("python2-psutil")
37-
3834
def fedora(self):
3935
self.install("libatomic")
4036
self.group_install("'Development Tools'")
@@ -50,7 +46,7 @@ def common_last(self):
5046
if not self.has_command("RLTest"):
5147
self.pip_install("git+https://github.com/RedisLabsModules/RLTest.git@master")
5248
self.pip_install("redis-py-cluster")
53-
self.pip_install("pudb")
49+
self.pip_install("pudb awscli")
5450

5551
#----------------------------------------------------------------------------------------------
5652

system-setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ def common_first(self):
2727
def debian_compat(self):
2828
self.install("build-essential")
2929
if self.osnick == 'trusty':
30-
# # install python3.6
31-
# self.add_repo("ppa:deadsnakes/ppa")
32-
# self.install("python3.6")
33-
# self.run("ln -sf `which python3.6` /usr/local/bin/python3")
3430
# install gcc-7
3531
self.add_repo("ppa:ubuntu-toolchain-r/test")
3632
self.install("gcc-7 g++-7")

0 commit comments

Comments
 (0)