diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py index 5234f46f7a67c4..233e43f68afeaa 100644 --- a/var/spack/repos/builtin/packages/cp2k/package.py +++ b/var/spack/repos/builtin/packages/cp2k/package.py @@ -271,7 +271,8 @@ class Cp2k(MakefilePackage, CudaPackage, CMakePackage, ROCmPackage): depends_on("sirius@7.0.0:7.0", when="@8:8.2") depends_on("sirius@7.2", when="@8.3:8.9") depends_on("sirius@7.3:", when="@9.1") - depends_on("sirius@7.4:", when="@2023.2") + depends_on("sirius@7.4:7.5", when="@2023.2") + depends_on("sirius@7.5:", when="@master") conflicts("~mpi", msg="SIRIUS requires MPI") # sirius support was introduced in 7, but effectively usable starting from CP2K 9 conflicts("@:8")