From 83bab814f4f6c1a9b53fd060175b462f69b393c2 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 17 Nov 2021 10:33:40 +0000
Subject: [PATCH] L2SS-205: Ensure lofar-device-base install general packages

These include anything that is required to run setup.py or __init__.py
as these are executed outside the context of packaging.
---
 docker-compose/lofar-device-base/lofar-requirements.txt | 4 ++--
 tangostationcontrol/requirements.txt                    | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/docker-compose/lofar-device-base/lofar-requirements.txt b/docker-compose/lofar-device-base/lofar-requirements.txt
index 3a215b1d9..95ed439cd 100644
--- a/docker-compose/lofar-device-base/lofar-requirements.txt
+++ b/docker-compose/lofar-device-base/lofar-requirements.txt
@@ -1,2 +1,2 @@
-# Do not put tangostationcontrol dependencies here
-astropy
+# Do not put tangostationcontrol dependencies here, only setup.py / __init__.py
+GitPython >= 3.1.24 # BSD
diff --git a/tangostationcontrol/requirements.txt b/tangostationcontrol/requirements.txt
index b1620255b..087bb148d 100644
--- a/tangostationcontrol/requirements.txt
+++ b/tangostationcontrol/requirements.txt
@@ -5,7 +5,6 @@
 asyncua >= 0.9.90 # LGPLv3
 PyMySQL[rsa] >= 1.0.2 # MIT
 sqlalchemy >= 1.4.26 #MIT
-GitPython >= 3.1.24 # BSD
 snmp >= 0.1.7 # GPL3
 h5py >= 3.5.0 # BSD
 psutil >= 5.8.0 # BSD
-- 
GitLab