diff --git a/spack_repo/packages/icon-nwp/package.py b/spack_repo/packages/icon-nwp/package.py
index ad5eb7b4b298402d8d793bc30117ff4a9170e481..5be6df8c862fc6072d7fcbd8579b494e33d1cbda 100644
--- a/spack_repo/packages/icon-nwp/package.py
+++ b/spack_repo/packages/icon-nwp/package.py
@@ -72,11 +72,11 @@ class IconNwp(Package):
     depends_on("intel-mkl", when="%intel")
 
     # Extra dependencies for B6, including yaml, and the hdf5 filters for compression.
-    depends_on("libyaml", when="@w2w-B6")
-    depends_on("hdf5-blosc", when="@w2w-B6")
-    depends_on("h5z-zfp", when="@w2w-B6")
-    depends_on("sz~hdf5", when="@w2w-B6")
-    depends_on("sz3~hdf5", when="@w2w-B6")
+    # depends_on("libyaml", when="@w2w-B6")
+    # depends_on("hdf5-blosc", when="@w2w-B6")
+    # depends_on("h5z-zfp", when="@w2w-B6")
+    # depends_on("sz~hdf5", when="@w2w-B6")
+    # depends_on("sz3~hdf5", when="@w2w-B6")
 
     phases = ["configure", "build", "install"]
 
@@ -202,9 +202,9 @@ class IconNwp(Package):
         elif self.spec.satisfies("%intel"):
             libs.append("-qmkl=sequential")
 
-        if self.spec.version == Version("w2w-B6"):
-            libs.append("-lyaml")
-            INCLUDES.append(f'-I{spec["zfp"].prefix}/include/zfp/')
+        # if self.spec.version == Version("w2w-B6"):
+        #     libs.append("-lyaml")
+        #     INCLUDES.append(f'-I{spec["zfp"].prefix}/include/zfp/')
 
         mtune = "generic"
         CPPFLAGS = []