haskell / haskell/cabal

`cabal outdated` skips `build-tool-depends`

Open
#8,153 2 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/outdated Cabal: stanza/build-tool-depends re: build-tool
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

E.g. `cabal outdated` does not alert me that `hspec-discover-2.10` is out of bounds for `github`:
https://github.com/haskell-github/github/blob/d9ac0c7ffbcc720a24d06f0a96ea4e3891316d1a/github.cabal#L219
Context:
- https://github.com/commercialhaskell/stackage/issues/6573

Update: Reproducer (2023-10-19, untested, might need small corrections).
```
cabal get github-0.29
cd github-0.29
sed -i 's/2.12/2.10/g' github.cabal
cabal outdated
```
Expected this to complain about outdated `hspec-discover`, but it does not.

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.