haskell / haskell/cabal

Non PVP compliant Version Numbers

Open
#8,438 3 comments 1 reaction 0 assignees View on GitHub
cabal-install: cmd/check Cabal: parser type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**
`cabal` does not complain, neither at parse time or with `cabal check`, about [incorrect PVP version numbers](https://pvp.haskell.org/#version-numbers).

**To Reproduce**
Steps to reproduce the behavior:

```
cabal get scroll
cd scroll-1.20180421/ # notice incorrect, 2 numbers only, version number
cabal check
```

**Expected behavior**
Something has to flag it as an error/warning, although I am not sure it is better at parse time or at check time.

**System information**
- Debian
- cabal version 3.6.2.0

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.