diff --git a/packages/wf-brainscales2-demos/package.py b/packages/wf-brainscales2-demos/package.py
index 473c75e65094b680d97655e36249c78df77edca0..74a3fcf7b34e5a708317fb452e8d4075cbb7710e 100644
--- a/packages/wf-brainscales2-demos/package.py
+++ b/packages/wf-brainscales2-demos/package.py
@@ -19,20 +19,20 @@ class WfBrainscales2Demos(Package):
 
     depends_on('hxtorch', type=("run", "test"))
     depends_on('pynn-brainscales', type=("run", "test"))
-    depends_on('py-matplotlib@3.5.1:')
-    depends_on('py-ipywidgets@7.7.0:')
-    depends_on('py-ipycanvas@0.10.2:')
-    depends_on('py-numpy@1.21.6:')
-    depends_on('py-ipython@8.0.1:')
-    depends_on('py-quantities@0.13.0:')
-    depends_on('py-torch@1.11.0:')
-    depends_on('py-torchvision@0.12.0:')
-    depends_on('py-tqdm@4.62.3:')
-    depends_on('py-requests@2.26.0:')
-    depends_on('py-neo@0.11.1:')
-    depends_on('py-scipy@1.8.1:')
-    depends_on('py-deap@1.3:')
-    depends_on('py-pandas@1.4.2:')
+    depends_on('py-matplotlib@3.5.1:', type=("run", "test"))
+    depends_on('py-ipywidgets@7.7.0:', type=("run", "test"))
+    depends_on('py-ipycanvas@0.10.2:', type=("run", "test"))
+    depends_on('py-numpy@1.21.6:', type=("run", "test"))
+    depends_on('py-ipython@8.0.1:', type=("run", "test"))
+    depends_on('py-quantities@0.13.0:', type=("run", "test"))
+    depends_on('py-torch@1.11.0:', type=("run", "test"))
+    depends_on('py-torchvision@0.12.0:', type=("run", "test"))
+    depends_on('py-tqdm@4.62.3:', type=("run", "test"))
+    depends_on('py-requests@2.26.0:', type=("run", "test"))
+    depends_on('py-neo@0.11.1:', type=("run", "test"))
+    depends_on('py-scipy@1.8.1:', type=("run", "test"))
+    depends_on('py-deap@1.3:', type=("run", "test"))
+    depends_on('py-pandas@1.4.2:', type=("run", "test"))
 
     def install(self, spec, prefix):
         # sanity_check_prefix requires something in the install directory
@@ -41,6 +41,8 @@ class WfBrainscales2Demos(Package):
     @run_after("install")
     @on_package_attributes(run_tests=True)
     def installcheck(self):
+        cmd_env = which("env")
+        cmd_env()
         # execute notebook and save
         jupyter = Executable("jupyter")
         jupyter("nbconvert",