Mark CabalSpecV3_18 as latest on the 3.18 branch - #12273
Open
andreabedini wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Cabal-syntax on the 3.18 branch so that CabalSpecV3_18 is treated as the latest supported Cabal specification, aligning cabalSpecLatest with the spec versions that Cabal-syntax 3.18 already parses and preventing cabal-install from misclassifying cabal-version: 3.18 Simple packages as “future format”.
Changes:
- Bump
cabalSpecLatestfromCabalSpecV3_16toCabalSpecV3_18.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Cabal-syntax 3.18 recognizes CabalSpecV3_18, but cabalSpecLatest remained CabalSpecV3_16. cabal-install consequently treated Simple packages that declare cabal-version 3.18 as future-format packages and selected an external setup script. Move the supported-version boundary to CabalSpecV3_18 so these packages use the in-process setup path. Fixes haskell#12271
andreabedini
force-pushed
the
andrea/fix/cabal-spec-latest-3-18
branch
from
August 24, 2026 08:20
c760b47 to
a290081
Compare
zlonast
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CabalSpecV3_18as the latest supported specification on the 3.18 branchcabal-version: 3.18Simplepackages on the in-process setup pathBackground
Cabal-syntax 3.18 recognizes
CabalSpecV3_18, butcabalSpecLatestremainedCabalSpecV3_16. cabal-install therefore classifiedSimplepackages thatdeclare
cabal-version: 3.18as future-format packages and selected an externalsetup script.
Addresses #12271.
Testing
cabal build Cabal-syntaxcabalSpecLatestin the Cabal-syntax REPL and obtainedCabalSpecV3_18