Skip to content

Is hackage-security-0.6.2 a PVP violation? #285

Closed as not planned
Closed as not planned
@andreasabel

Description

@andreasabel

I got a build error in hackage-server which had no explicit dep on Cabal-syntax, but had Cabal ^>= 3.6.3.0 and hackage-security ^>= 0.6:

Couldn't match type ‘PackageIdentifier’
                     with ‘Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier’
      Expected: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier
        Actual: PackageId
      NB: ‘Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier’
            is defined in ‘Distribution.Types.PackageId’
                in package ‘Cabal-syntax-3.8.1.0’
          ‘PackageIdentifier’
            is defined in ‘Distribution.Types.PackageId’
                in package ‘Cabal-3.6.3.0’

This shouldn't happen, I suppose?
So, is hackage-security-0.6.2 a PVP violation, and should it be released as 0.7 instead?

See:

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