Flag to solver to not pick deprecated packages.
Open
cabal-install: solver
old-milestone: ⊥
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
AFAIK deprecated packages are less-preferred atm, but it would be make sense to try to avoid them.
Side note: when `WeightedPSQ` is implemented, could the penalties be adjusted? By adding insane high cost to deprecated packages, solver would barely pick them.
Another side note: `cabal-install` could warn that some packages in the install plan are deprecated (say with `-v`)
Contributor guide
Assessment
This issue has not been assessed yet.