I have an older project that I created using Stack. I want to move my project to the last set of LTS from Stackage.
When I change the resolver in the stack.yaml file, the problem is that the versions in the additional files in the .cabal file are still for the old LTS set. Is there a way to automatically update version numbers in a .cabal file using Stack?
You can simply remove the (some) upper bounds build-dependsin your cache file.
build-depends
, , --pvp-bounds, . stack sdist --pvp-bounds upper, stack upload --pvp-bounds both ..
--pvp-bounds
stack sdist --pvp-bounds upper
stack upload --pvp-bounds both
.