Skip to content

Commit b876569

Browse files
authored
Drop >= for cabal-version going forward.
See #5108. We want `>=` to not be used anymore.
1 parent 2a37544 commit b876569

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Cabal/doc/developing-packages.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ describe the package as a whole:
785785
786786
package-version = 1*DIGIT *("." 1*DIGIT)
787787
788-
.. pkg-field:: cabal-version: >= x.y
788+
.. pkg-field:: cabal-version: x.y
789789

790790
The version of the Cabal specification that this package description
791791
uses. The Cabal specification does slowly evolve, introducing new
@@ -794,11 +794,6 @@ describe the package as a whole:
794794
programs which process the package description to know what syntax
795795
to expect and what each part means.
796796

797-
For historical reasons this is always expressed using *>=* version
798-
range syntax. No other kinds of version range make sense, in
799-
particular upper bounds do not make sense. In future this field will
800-
specify just a version number, rather than a version range.
801-
802797
The version number you specify will affect both compatibility and
803798
behaviour. Most tools (including the Cabal library and cabal
804799
program) understand a range of versions of the Cabal specification.

0 commit comments

Comments
 (0)