Skip to content

Commit 8882476

Browse files
authored
disable upper cabal version specification check
1 parent 962b6d7 commit 8882476

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Distribution/Server/Packages/Unpack.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,11 @@ specVersionChecks specVerOk specVer = do
216216
when (specVer < CabalSpecV1_2) $
217217
throwError "'cabal-version' must be at least 1.2"
218218

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

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

0 commit comments

Comments
 (0)