Skip to content

Drop >= for cabal-version going forward. #5131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Cabal/doc/developing-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down