Skip to content

Commit

Permalink
disable upper cabal version specification check
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaz authored Dec 11, 2024
1 parent 962b6d7 commit 8882476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Distribution/Server/Packages/Unpack.hs
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,11 @@ specVersionChecks specVerOk specVer = do
when (specVer < CabalSpecV1_2) $
throwError "'cabal-version' must be at least 1.2"

-- To keep people from uploading packages most users cannot use.
-- To keep people from uploading packages most users cannot use. Disabled for now.
{-
unless (specVer <= CabalSpecV3_6) $
throwError "'cabal-version' must be at most 3.6"
-}

-- | The issue is that browsers can upload the file name using either unix
-- or windows convention, so we need to take the basename using either
Expand Down

0 comments on commit 8882476

Please sign in to comment.