From 0c5cd4a977cdbcace3e1e40406d63c7b47e0b7ad Mon Sep 17 00:00:00 2001
From: Daniel Scheffler <danschef@gfz-potsdam.de>
Date: Wed, 28 Aug 2024 11:57:08 +0200
Subject: [PATCH] Test to pin holoviews>1.12.7.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
---
 .gitlab-ci.yml                                      | 7 +++++++
 tests/gitlab_CI_docker/context/environment_enpt.yml | 1 +
 2 files changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1b975e7..0431eb2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,6 +47,8 @@ test_enpt:
 
     expire_in: 30 days
     when: always
+  except:
+    - maintenance/modernize_setup
 
 
 test_styles:
@@ -61,6 +63,8 @@ test_styles:
     - tests/linting/pycodestyle.log
     - tests/linting/pydocstyle.log
     when: always
+  except:
+    - maintenance/modernize_setup
 
 
 test_urls:
@@ -70,6 +74,8 @@ test_urls:
     - pip install -U urlchecker
     - make urlcheck
   when: always
+  except:
+    - maintenance/modernize_setup
 
 
 test_enpt_install:
@@ -90,6 +96,7 @@ test_enpt_install:
     - python -c "from enpt.model.images import EnMAPL1Product_SensorGeo"
 
     # check if dependencies are properly installed
+    - conda list holoviews
     - pip check || exit
   only:
     - main
diff --git a/tests/gitlab_CI_docker/context/environment_enpt.yml b/tests/gitlab_CI_docker/context/environment_enpt.yml
index 05c88c7b..5ebaf823 100644
--- a/tests/gitlab_CI_docker/context/environment_enpt.yml
+++ b/tests/gitlab_CI_docker/context/environment_enpt.yml
@@ -11,6 +11,7 @@ dependencies:
   - cerberus
   - gdal
   - geoarray>=0.15.8
+  - holoviews>1.12.7
   - jsmin
   - lxml
   - matplotlib
-- 
GitLab