Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
andreasabel opened this issue Aug 23, 2022 · 2 comments
Closed

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

andreasabel opened this issue Aug 23, 2022 · 2 comments

Comments

@andreasabel
Copy link
Member

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:

@andreasabel andreasabel changed the title Is hackage-security-0.6.2 a PVP violation Is hackage-security-0.6.2 a PVP violation? Aug 23, 2022
@Mikolaj
Copy link
Member

Mikolaj commented Aug 23, 2022

I think this is just haskell/cabal#8370, which is potentially the biggest regression in cabal 3.8.1.0; a ticking bomb. Relaxing bounds in 0.6.2 just made cabal 3.8.1.0 available, which exposed this cabal 3.8.1.0 bug.

@andreasabel
Copy link
Member Author

Bumping hackage-security to 0.7 wouldn't fix the problem, I suppose.

@andreasabel andreasabel closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2022
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

No branches or pull requests

2 participants