Skip to content

Mark CabalSpecV3_18 as latest on the 3.18 branch - #12273

Open
andreabedini wants to merge 1 commit into
haskell:3.18from
andreabedini:andrea/fix/cabal-spec-latest-3-18
Open

Mark CabalSpecV3_18 as latest on the 3.18 branch#12273
andreabedini wants to merge 1 commit into
haskell:3.18from
andreabedini:andrea/fix/cabal-spec-latest-3-18

Conversation

@andreabedini

Copy link
Copy Markdown
Collaborator

Summary

  • mark CabalSpecV3_18 as the latest supported specification on the 3.18 branch
  • keep cabal-version: 3.18 Simple packages on the in-process setup path

Background

Cabal-syntax 3.18 recognizes CabalSpecV3_18, but cabalSpecLatest remained
CabalSpecV3_16. cabal-install therefore classified Simple packages that
declare cabal-version: 3.18 as future-format packages and selected an external
setup script.

Addresses #12271.

Testing

  • cabal build Cabal-syntax
  • evaluated cabalSpecLatest in the Cabal-syntax REPL and obtained
    CabalSpecV3_18

Copilot AI lite review requested due to automatic review settings August 24, 2026 08:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 cabalSpecLatest from CabalSpecV3_16 to CabalSpecV3_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
andreabedini force-pushed the andrea/fix/cabal-spec-latest-3-18 branch from c760b47 to a290081 Compare August 24, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants