diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 879291320a7a715c10113f850a9f43f9465a7196..8478e364f660f5bc2291d77d6540627a6f8c471d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -120,10 +120,10 @@ unittest_py3.9:
   script:
       - tox
 
-unittest_py3.7:
+unittest_py3.8:
   tags: [cached-dind]
   stage: test
-  image: python:3.7
+  image: python:3.8
   script: &python_test_script
     # install dependencies
     - pip install pytest pytest-cov
@@ -135,12 +135,6 @@ unittest_py3.7:
     - caosdb-crawler --help
     - pytest --cov=caosdb -vv ./unittests
 
-unittest_py3.8:
-  tags: [cached-dind]
-  stage: test
-  image: python:3.8
-  script: *python_test_script
-
 unittest_py3.10:
   tags: [cached-dind]
   stage: test
diff --git a/src/caoscrawler/semantic_target.py b/src/caoscrawler/semantic_target.py
index 89e65c20bace682796c829a96202d0cbbde9de1f..818e686aa9e552e88df41f53d855d6dce74118a6 100644
--- a/src/caoscrawler/semantic_target.py
+++ b/src/caoscrawler/semantic_target.py
@@ -98,7 +98,7 @@ class SemanticTarget():
     - set_missing: declares that a SemanticEntity is NOT existing on the remote server
     """
 
-    def __init__(self, entities: list[db.Entity], identifiableAdapter):
+    def __init__(self, entities: List[db.Entity], identifiableAdapter):
         self.identifiableAdapter = identifiableAdapter
         self._id_look_up: dict[int, SemanticEntity] = {}
         self._path_look_up: dict[str, SemanticEntity] = {}