Skip to content

Cannot upload cabal-version: 3.8 package to HackageΒ #1351

@RyanGlScott

Description

@RyanGlScott

When I attempt to upload singletons-base (which needs cabal-version: 3.8) to Hackage, it fails with:

$ cabal upload --publish dist-newstyle/sdist/singletons-base-code-generator-0.1.tar.gz 
<snip>
Uploading dist-newstyle/sdist/singletons-base-code-generator-0.1.tar.gz...
Error uploading dist-newstyle/sdist/singletons-base-code-generator-0.1.tar.gz:
http code 400
Error: Invalid package

'cabal-version' must be at most 3.6

Is there something that needs to change on Hackage's end to support this? I require cabal-version: 3.8 due to the package's use of a cabal code generator.

I am using the latest stable release of cabal (cabal-install version 3.12.1.0) as of the time of writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions