diff --git a/hpc-bin.cabal b/hpc-bin.cabal
index 90fcffc066e5d43a7d35b5cffda49848e3242b78..3c1155c9d3133a08de487c4a2335f8b7f94f878b 100644
--- a/hpc-bin.cabal
+++ b/hpc-bin.cabal
@@ -58,11 +58,11 @@ executable hpc
                    deepseq    >= 1.4.4 && < 1.6,
                    directory  >= 1   && < 1.4,
                    filepath   >= 1   && < 1.6,
-                   containers >= 0.1 && < 0.8,
+                   containers >= 0.1 && < 0.9,
                    array      >= 0.1 && < 0.6,
                    hpc        >= 0.6.2 && < 0.8,
                    lucid2     ^>= 0.0.20240424,
-                   text       ^>= 2.0
+                   text       >= 2.0 && < 2.2
 
     if flag(build-tool-depends)
       build-tool-depends: happy:happy >= 1.20.0
@@ -90,11 +90,11 @@ test-suite hpc-test
   build-depends:
       base         >= 4   && < 5
     , directory    >= 1   && < 1.4
-    , filepath     >= 1   && < 1.5
+    , filepath     >= 1   && < 1.6
     , process      ^>= 1.6
     , tasty        ^>= 1.4
     , tasty-golden ^>= 2.3
     , tasty-hunit  ^>= 0.10
-    , text         ^>= 2.0
+    , text         >= 2.0 && < 2.2
     , utf8-string  ^>= 1.0
   default-language: Haskell2010