diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,6 +0,0 @@
-module Main (main) where
-
-import Distribution.Simple
-
-main :: IO ()
-main = defaultMain
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.5.0
+version:         9.6.0
 license:         BSD-2-Clause
 license-file:    LICENSE.md
 maintainer:      Mark Karpov <markkarpov92@gmail.com>
 author:          Megaparsec contributors
-tested-with:     ghc ==9.2.7 ghc ==9.4.4 ghc ==9.6.1
+tested-with:     ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.1
 homepage:        https://github.com/mrkkrp/megaparsec
 bug-reports:     https://github.com/mrkkrp/megaparsec/issues
 synopsis:        Test utilities and the test suite of Megaparsec
@@ -25,14 +25,14 @@
     default-language: Haskell2010
     build-depends:
         QuickCheck >=2.10 && <2.15,
-        base >=4.15 && <5.0,
-        bytestring >=0.2 && <0.12,
-        containers >=0.5 && <0.7,
-        hspec >=2.0 && <3.0,
-        hspec-megaparsec >=2.0 && <3.0,
-        megaparsec ==9.5.0,
-        mtl >=2.2.2 && <3.0,
-        text >=0.2 && <2.1,
+        base >=4.15 && <5,
+        bytestring >=0.2 && <0.13,
+        containers >=0.5 && <0.8,
+        hspec >=2 && <3,
+        hspec-megaparsec >=2 && <3,
+        megaparsec ==9.6.0,
+        mtl >=2.2.2 && <3,
+        text >=0.2 && <2.2,
         transformers >=0.4 && <0.7
 
     if flag(dev)
@@ -63,18 +63,18 @@
     default-language:   Haskell2010
     build-depends:
         QuickCheck >=2.10 && <2.15,
-        base >=4.15 && <5.0,
-        bytestring >=0.2 && <0.12,
+        base >=4.15 && <5,
+        bytestring >=0.2 && <0.13,
         case-insensitive >=1.2 && <1.3,
-        containers >=0.5 && <0.7,
-        hspec >=2.0 && <3.0,
-        hspec-megaparsec >=2.0 && <3.0,
-        megaparsec ==9.5.0,
+        containers >=0.5 && <0.8,
+        hspec >=2 && <3,
+        hspec-megaparsec >=2 && <3,
+        megaparsec ==9.6.0,
         megaparsec-tests,
-        mtl >=2.2.2 && <3.0,
+        mtl >=2.2.2 && <3,
         scientific >=0.3.1 && <0.4,
         temporary >=1.1 && <1.4,
-        text >=0.2 && <2.1,
+        text >=0.2 && <2.2,
         transformers >=0.4 && <0.7
 
     if flag(dev)
@@ -84,3 +84,6 @@
 
     else
         ghc-options: -O2 -Wall
+
+    if impl(ghc >=9.8)
+        ghc-options: -Wno-x-partial
