From 32d315fe2f00ce359c77d81b4b6fe7adf1350fea Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Mon, 3 Oct 2022 15:31:28 +0000
Subject: [PATCH] L2SS-940: Babysit importlib-metadata version

---
 tangostationcontrol/docs/docs-requirements.txt | 1 +
 tangostationcontrol/requirements.txt           | 1 +
 tangostationcontrol/test-requirements.txt      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tangostationcontrol/docs/docs-requirements.txt b/tangostationcontrol/docs/docs-requirements.txt
index 689980c4d..3a9106789 100644
--- a/tangostationcontrol/docs/docs-requirements.txt
+++ b/tangostationcontrol/docs/docs-requirements.txt
@@ -1,2 +1,3 @@
+importlib-metadata<2.0.0,>=0.12;python_version<"3.8"
 sphinx>=4.3.2 # BSD
 sphinx-rtd-theme>=1.0.0 # MIT
\ No newline at end of file
diff --git a/tangostationcontrol/requirements.txt b/tangostationcontrol/requirements.txt
index 690513a0d..1101bd066 100644
--- a/tangostationcontrol/requirements.txt
+++ b/tangostationcontrol/requirements.txt
@@ -2,6 +2,7 @@
 # order of appearance. Changing the order has an impact on the overall
 # integration process, which may cause wedges in the gate later.
 
+importlib-metadata<2.0.0,>=0.12;python_version<"3.8"
 lofar-station-client@git+https://git.astron.nl/lofar2.0/lofar-station-client@0.6.0
 numpy
 mock
diff --git a/tangostationcontrol/test-requirements.txt b/tangostationcontrol/test-requirements.txt
index dbd81d74d..6c383060d 100644
--- a/tangostationcontrol/test-requirements.txt
+++ b/tangostationcontrol/test-requirements.txt
@@ -2,6 +2,7 @@
 # order of appearance. Changing the order has an impact on the overall
 # integration process, which may cause wedges in the gate later.
 
+importlib-metadata<2.0.0,>=0.12;python_version<"3.8"
 asynctest>=0.13.0 # Apache-2.0
 bandit>=1.6.0 # Apache-2.0
 virtualenv>=20.16.0 # MIT
-- 
GitLab