Skip to content

Commit 33331c2

Browse files
committed
explicitly install requirementst for st2client testing
1 parent 4399ed4 commit 33331c2

22 files changed

Lines changed: 21 additions & 117 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,9 @@ flake8: requirements .flake8
536536

537537
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip==$(PIP_VERSION)"
538538
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "setuptools==$(SETUPTOOLS_VERSION)"
539+
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install -r requirements.txt
539540

540-
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install -e .; cd ..
541+
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/python setup.py install ; cd ..
541542
$(VIRTUALENV_ST2CLIENT_DIR)/bin/st2 --version
542543
$(VIRTUALENV_ST2CLIENT_DIR)/bin/python -c "import st2client"
543544

contrib/runners/action_chain_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/announcement_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/http_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/inquirer_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/local_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/noop_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/orquesta_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/python_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

contrib/runners/remote_runner/dist_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,7 @@
3636
# for subpackages.
3737
# At the very least we can vendorize some of their code instead of reimplementing
3838
# each piece of their code every time our parsing breaks.
39-
PY3 = sys.version_info[0] == 3
40-
41-
if PY3:
42-
text_type = str
43-
else:
44-
text_type = unicode # noqa # pylint: disable=E0602
39+
text_type = str
4540

4641
GET_PIP = "curl https://bootstrap.pypa.io/get-pip.py | python"
4742

0 commit comments

Comments
 (0)