We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89121f commit 7c2b32bCopy full SHA for 7c2b32b
src/Distribution/Server/Packages/Unpack.hs
@@ -216,9 +216,9 @@ specVersionChecks specVerOk specVer = do
216
when (specVer < CabalSpecV1_2) $
217
throwError "'cabal-version' must be at least 1.2"
218
219
- -- Safeguard; should already be caught by parser
220
- unless (specVer <= CabalSpecV3_0) $
221
- throwError "'cabal-version' must be at most 3.0"
+ -- To keep people from uploading packages most users cannot use.
+ unless (specVer <= CabalSpecV3_6) $
+ throwError "'cabal-version' must be at most 3.6"
222
223
-- | The issue is that browsers can upload the file name using either unix
224
-- or windows convention, so we need to take the basename using either
0 commit comments