From b8765696bdc6a5e7f6de28e76dc4a360942ba197 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Fri, 9 Feb 2018 10:06:07 +0800 Subject: [PATCH] Drop `>=` for `cabal-version` going forward. See #5108. We want `>=` to not be used anymore. --- Cabal/doc/developing-packages.rst | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Cabal/doc/developing-packages.rst b/Cabal/doc/developing-packages.rst index 59c1133d2a0..0a6e229d31c 100644 --- a/Cabal/doc/developing-packages.rst +++ b/Cabal/doc/developing-packages.rst @@ -785,7 +785,7 @@ describe the package as a whole: package-version = 1*DIGIT *("." 1*DIGIT) -.. pkg-field:: cabal-version: >= x.y +.. pkg-field:: cabal-version: x.y The version of the Cabal specification that this package description uses. The Cabal specification does slowly evolve, introducing new @@ -794,11 +794,6 @@ describe the package as a whole: programs which process the package description to know what syntax to expect and what each part means. - For historical reasons this is always expressed using *>=* version - range syntax. No other kinds of version range make sense, in - particular upper bounds do not make sense. In future this field will - specify just a version number, rather than a version range. - The version number you specify will affect both compatibility and behaviour. Most tools (including the Cabal library and cabal program) understand a range of versions of the Cabal specification.