Skip to content

Support Cabal-3.0 (and perfectly more recent) #27

Closed

Description

@phadej

When trying to make a reviision for binary-0.8.9.0 for example:

Warning: binary-0.8.9.0/binary.cabal:0:0: Unsupported cabal-version. See
https://github.com/haskell/cabal/issues/4899.
hackage-cli: dieVerbatim: user error (CallStack (from HasCallStack):
  die', called at ./Distribution/Parsec/ParseResult.hs:184:13 in Cabal-2.4.1.0-3c8bd2957f595d14d82ebbb1c5fbc746908260850205b0cc0b4edb85f702d552:Distribution.Parsec.ParseResult
  parseString, called at ./Distribution/Parsec/ParseResult.hs:169:5 in Cabal-2.4.1.0-3c8bd2957f595d14d82ebbb1c5fbc746908260850205b0cc0b4edb85f702d552:Distribution.Parsec.ParseResult
  readAndParseFile, called at ./Distribution/PackageDescription/Parsec.hs:89:33 in Cabal-2.4.1.0-3c8bd2957f595d14d82ebbb1c5fbc746908260850205b0cc0b4edb85f702d552:Distribution.PackageDescription.Parsec
  readGenericPackageDescription, called at src/Main.hs:735:59 in main:Main

Activity

  1. sjakobi commented on Nov 1, 2021

    @sjakobi
    Collaborator

    Wasn't #13 an attempt in this direction? Could it be revived?

  2. phadej commented on Nov 1, 2021

    @phadej
    CollaboratorAuthor

    #13 is outdated. You should check what hackage-server does for revision checking and copy that.

  3. andreasabel commented on Feb 16, 2022

    @andreasabel
    Member

    hackage-server has the code up to Cabal-3.2, I am copying this over.

  4. self-assigned this
    on Feb 16, 2022
  5. andreasabel commented on Feb 21, 2022

    @andreasabel
    Member

    The OP is fixed.
    Hopefully, this should work now up to cabal-version: 3.4.

  6. linked a pull request that will close this issueCompile with Cabal-3.0 and GHC 8.8 #37on Feb 21, 2022
  7. linked a pull request that will close this issueCabal 3.2 and GHC 8.10 #38on Feb 21, 2022
  8. linked a pull request that will close this issueSwitch to Cabal-3.4, allow GHC 9.0 #39on Feb 21, 2022
  9. added this to the 0.0.3.4 milestone on Feb 21, 2022
  10. added
    re: cabal-version
    on Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

re: cabal-version

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions