From 888247675243cf158753d4fec1465bd56142be0a Mon Sep 17 00:00:00 2001 From: gbaz Date: Wed, 11 Dec 2024 14:01:32 -0500 Subject: [PATCH] disable upper cabal version specification check --- src/Distribution/Server/Packages/Unpack.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Distribution/Server/Packages/Unpack.hs b/src/Distribution/Server/Packages/Unpack.hs index 2d9236d7..b939b59d 100644 --- a/src/Distribution/Server/Packages/Unpack.hs +++ b/src/Distribution/Server/Packages/Unpack.hs @@ -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