diff --git a/HTTP.cabal b/HTTP.cabal
--- a/HTTP.cabal
+++ b/HTTP.cabal
@@ -1,8 +1,8 @@
-Cabal-Version: >= 1.10
+Cabal-Version: 3.0
 Name: HTTP
-Version: 4000.4.1
+Version: 4000.5.0
 Build-type: Simple
-License: BSD3
+License: BSD-3-Clause
 License-file: LICENSE
 Author: Warrick Gray <warrick.gray@hotmail.com>
 Maintainer: Ganesh Sittampalam <ganesh@earth.li>
@@ -57,9 +57,20 @@
 Extra-Source-Files: CHANGES
 
 tested-with:
-  GHC==9.2.1, GHC==9.0.1,
-  GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
-  GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
+  GHC == 9.12.2
+  GHC == 9.10.3
+  GHC == 9.8.4
+  GHC == 9.6.7
+  GHC == 9.4.8
+  GHC == 9.2.8
+  GHC == 9.0.2
+  GHC == 8.10.7
+  GHC == 8.8.4
+  GHC == 8.6.5
+  GHC == 8.4.4
+  GHC == 8.2.2
+  -- CI failing for GHC 8.0 because of https://github.com/haskell/cabal/issues/10379
+  -- GHC == 8.0.2
 
 Source-Repository head
   type: git
@@ -79,11 +90,8 @@
   default:     False
   manual:      True
 
-flag network-uri
-  description: Get Network.URI from the network-uri package
-  default: True
-
 Library
+  Autogen-modules: Paths_HTTP
   Exposed-modules:
                  Network.BufferType,
                  Network.Stream,
@@ -102,38 +110,34 @@
   Other-modules:
                  Network.HTTP.Base64,
                  Network.HTTP.MD5Aux,
-                 Network.HTTP.Utils
+                 Network.HTTP.Utils,
                  Paths_HTTP
   GHC-options: -fwarn-missing-signatures -Wall
 
   -- note the test harness constraints should be kept in sync with these
   -- where dependencies are shared
   build-depends:
-      base          >= 4.6.0.0   && < 4.17
+      base          >= 4.6.0.0   && < 4.22
     , array         >= 0.3.0.2   && < 0.6
-    , bytestring    >= 0.9.1.5   && < 0.12
+    , bytestring    >= 0.9.1.5   && < 0.13
     , parsec        >= 2.0       && < 3.2
-    , time          >= 1.1.2.3   && < 1.13
+    , time          >= 1.1.2.3   && < 1.15
     , transformers  >= 0.2.0.0   && < 0.7
         -- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
     -- The following dependencies are refined by flags, but they should
     -- still be mentioned here on the top-level.
     , mtl           >= 2.0.0.0   && < 2.4
-    , network       >= 2.4       && < 3.2
+    , network       >= 2.6       && < 3.3
+    , network-uri   >= 2.6       && < 2.7
 
   default-language: Haskell98
   default-extensions: FlexibleInstances
 
-  if flag(network-uri)
-    Build-depends: network-uri == 2.6.*, network >= 2.6
-  else
-    Build-depends: network < 2.6
-
   if flag(warn-as-error)
     ghc-options:      -Werror
 
   if os(windows)
-    Build-depends: Win32 >= 2.2.0.0 && < 2.14
+    Build-depends: Win32 >= 2.2.0.0 && < 2.15
 
 Test-Suite test
   type: exitcode-stdio-1.0
@@ -155,8 +159,9 @@
     , bytestring
     , mtl
     , network
+    , network-uri
     -- extra dependencies
-    , deepseq               >= 1.3.0.0  && < 1.5
+    , deepseq               >= 1.3.0.0  && < 1.6
     , httpd-shed            >= 0.4      && < 0.5
     , HUnit                 >= 1.2.0.1  && < 1.7
     , pureMD5               >= 0.2.4    && < 2.2
@@ -164,11 +169,6 @@
     , test-framework        >= 0.2.0    && < 0.9
     , test-framework-hunit  >= 0.3.0    && < 0.4
 
-  if flag(network-uri)
-    Build-depends: network-uri == 2.6.*, network >= 2.6
-  else
-    Build-depends: network < 2.6
-
   if flag(warp-tests)
     CPP-Options: -DWARP_TESTS
     build-depends:
@@ -176,7 +176,7 @@
       , conduit             >= 1.0.8    && < 1.4
       , http-types          >= 0.8.0    && < 1.0
       , wai                 >= 2.1.0    && < 3.3
-      , warp                >= 2.1.0    && < 3.4
+      , warp                >= 2.1.0    && < 3.5
 
     if flag(conduit10)
       build-depends: conduit < 1.1
