From 82c03d476a7b58a4492e2949ce58aaf37b869582 Mon Sep 17 00:00:00 2001 From: lukken <lukken@astron.nl> Date: Fri, 16 Sep 2022 14:10:13 +0000 Subject: [PATCH] L2SS-951: Disable site-packages and install pytango in tox --- tangostationcontrol/requirements.txt | 2 ++ tangostationcontrol/tox.ini | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tangostationcontrol/requirements.txt b/tangostationcontrol/requirements.txt index b25291009..690513a0d 100644 --- a/tangostationcontrol/requirements.txt +++ b/tangostationcontrol/requirements.txt @@ -3,6 +3,8 @@ # integration process, which may cause wedges in the gate later. lofar-station-client@git+https://git.astron.nl/lofar2.0/lofar-station-client@0.6.0 +numpy +mock asyncua >= 0.9.90 # LGPLv3 PyMySQL[rsa] >= 1.0.2 # MIT psycopg2-binary >= 2.9.2 # LGPL diff --git a/tangostationcontrol/tox.ini b/tangostationcontrol/tox.ini index 52d27b6ea..67b212028 100644 --- a/tangostationcontrol/tox.ini +++ b/tangostationcontrol/tox.ini @@ -14,7 +14,7 @@ usedevelop = True ; installing this package is non-trivial. The solution is to prevent calling ; binaries directly and utilizing python and tox variables to resolve the ; requested module. -sitepackages = True +; sitepackages = True install_command = {envbindir}/pip3 install {opts} {packages} passenv = HOME setenv = @@ -26,6 +26,7 @@ deps = -r{toxinidir}/test-requirements.txt commands_pre = {envpython} --version + pip install --no-cache pytango commands = {envpython} -m stestr --version {envpython} -m stestr run {posargs} -- GitLab