Skip to content
Snippets Groups Projects
Unverified Commit ea830d70 authored by Artem Pelenitsyn's avatar Artem Pelenitsyn Committed by GitHub
Browse files

Rebase of #5370 (fix for #4683) (#7409)


* Introduce checks for upper dependencies in setup.

setup depends are now checked for having upper dependencies.
Upper bounds are mandatory for base and Cabal libraries, and
are optional (but emit warning) for other libraries.
Implicit dependencies are not being checked.

* Add tests.

* Fix tests.

* add changelog

* fix test for the newer cabal_raw'

* scale down alerts: no warnings on any package, only errors on base+Cabal

* address review comments

* typo

* improve changelog (add Cabal)

* remove boundedAbove and use Distribution.Version.hasUpperBound instead

Co-authored-by: default avatarAlexander Vershilov <alexander.vershilov@gmail.com>
Co-authored-by: default avatarEmily Pillmore <emilypi@cohomolo.gy>
Co-authored-by: default avatarMikolaj Konarski <mikolaj@well-typed.com>
parent 6f932b71
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment