diff --git a/megaparsec-tests.cabal b/megaparsec-tests.cabal
--- a/megaparsec-tests.cabal
+++ b/megaparsec-tests.cabal
@@ -1,11 +1,11 @@
 cabal-version:   2.4
 name:            megaparsec-tests
-version:         9.4.1
+version:         9.5.0
 license:         BSD-2-Clause
 license-file:    LICENSE.md
 maintainer:      Mark Karpov <markkarpov92@gmail.com>
 author:          Megaparsec contributors
-tested-with:     ghc ==9.0.2 ghc ==9.2.4 ghc ==9.4.1
+tested-with:     ghc ==9.2.7 ghc ==9.4.4 ghc ==9.6.1
 homepage:        https://github.com/mrkkrp/megaparsec
 bug-reports:     https://github.com/mrkkrp/megaparsec/issues
 synopsis:        Test utilities and the test suite of Megaparsec
@@ -29,17 +29,16 @@
         bytestring >=0.2 && <0.12,
         containers >=0.5 && <0.7,
         hspec >=2.0 && <3.0,
-        hspec-expectations >=0.8 && <0.9,
         hspec-megaparsec >=2.0 && <3.0,
-        megaparsec ==9.4.1,
+        megaparsec ==9.5.0,
         mtl >=2.2.2 && <3.0,
         text >=0.2 && <2.1,
         transformers >=0.4 && <0.7
 
     if flag(dev)
         ghc-options:
-            -Wall -Werror -Wcompat -Wincomplete-record-updates
-            -Wincomplete-uni-patterns -Wnoncanonical-monad-instances
+            -Wall -Werror -Wredundant-constraints -Wpartial-fields
+            -Wunused-packages
 
     else
         ghc-options: -O2 -Wall
@@ -69,19 +68,19 @@
         case-insensitive >=1.2 && <1.3,
         containers >=0.5 && <0.7,
         hspec >=2.0 && <3.0,
-        hspec-expectations >=0.8 && <0.9,
         hspec-megaparsec >=2.0 && <3.0,
-        megaparsec ==9.4.1,
+        megaparsec ==9.5.0,
         megaparsec-tests,
         mtl >=2.2.2 && <3.0,
-        parser-combinators >=1.0 && <2.0,
         scientific >=0.3.1 && <0.4,
         temporary >=1.1 && <1.4,
         text >=0.2 && <2.1,
         transformers >=0.4 && <0.7
 
     if flag(dev)
-        ghc-options: -O0 -Wall -Werror
+        ghc-options:
+            -Wall -Werror -Wredundant-constraints -Wpartial-fields
+            -Wunused-packages
 
     else
         ghc-options: -O2 -Wall
