haskell / haskell/lsp

Old versions with incorrect bounds should all be deprecated

Open
#641 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

An unfortunate consequence of belatedly adding version bounds (https://github.com/haskell/lsp/pull/533) is that Cabal will sometimes pick a very old library version. For example, currently, when trying to compile with GHC 9.14, Cabal sees that `lsp-test-0.18.0.0` has dependencies which can't be solved with the latest `base` etc. and ends up trying to use `lsp-test-0.14.1.0` instead. Which is from four years ago, and of course doesn't actually build (due to `List` re-export in this case).

Basically, there are versions of this library on Hackage whose dependency bounds are harmful lies. I think this is solved by marking them all as deprecated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.