Drop stack support for GHC 8.2.2

This is necessary, because when we upgrade cabal-helper,
and transivitely cabal-plan to  version 0.5.0.0 in #1126,
the minimum cabal-version is 2.2.
However, each stack snapshot ships with its own version
of cabal-install that can not be changed.

The latest lts for ghc-8.2.2 is 11.18, which ships with
a cabal-install version of 2.0.0.1, which is too old
for cabal-plan 0.5.0.0.

However, in general, there is nothing that forces us to
drop support for GHC 8.2.2. Overriding the compiler version
should be possible, e.g. taking the snapshort 14.8 and
overriding the GHC version, but this requires us
to do manual constraint solving. Could be done if needed.
This commit is contained in:
fendor 2019-10-29 18:59:43 +01:00 committed by fendor
parent 6c0b7fad18
commit 257eda54bb
6 changed files with 0 additions and 71 deletions

View File

@ -23,8 +23,6 @@ jobs:
YAML_FILE: stack-8.4.3.yaml
stack-8.4.2:
YAML_FILE: stack-8.4.2.yaml
stack-8.2.2:
YAML_FILE: stack-8.2.2.yaml
variables:
STACK_ROOT: /home/vsts/.stack
steps:

View File

@ -19,8 +19,6 @@ jobs:
YAML_FILE: stack-8.4.3.yaml
stack-8.4.2:
YAML_FILE: stack-8.4.2.yaml
stack-8.2.2:
YAML_FILE: stack-8.2.2.yaml
variables:
STACK_ROOT: /Users/vsts/.stack
steps:

View File

@ -21,8 +21,6 @@ jobs:
YAML_FILE: stack-8.4.3.yaml
stack-8.4.2:
YAML_FILE: stack-8.4.2.yaml
stack-8.2.2:
YAML_FILE: stack-8.2.2.yaml
variables:
STACK_ROOT: "C:\\sr"

View File

@ -101,21 +101,6 @@ defaults: &defaults
version: 2
jobs:
ghc-8.0.2:
environment:
- STACK_FILE: "stack-8.0.2.yaml"
<<: *defaults
ghc-8.2.1:
environment:
- STACK_FILE: "stack-8.2.1.yaml"
<<: *defaults
ghc-8.2.2:
environment:
- STACK_FILE: "stack-8.2.2.yaml"
<<: *defaults
ghc-8.4.2:
environment:
- STACK_FILE: "stack-8.4.2.yaml"
@ -199,7 +184,6 @@ workflows:
version: 2
multiple-ghcs:
jobs:
- ghc-8.2.2
- ghc-8.4.2
- ghc-8.4.3
- ghc-8.4.4

View File

@ -7,7 +7,6 @@ environment:
- GHCVER: 8.4.4
- GHCVER: 8.4.3
- GHCVER: 8.4.2
- GHCVER: 8.2.2
install:
- cmd: >-
git submodule update --init --recursive

View File

@ -1,48 +0,0 @@
resolver: lts-11.18 # lts-11.x is the last one for GHC 8.2.2
packages:
- .
- hie-plugin-api
extra-deps:
- ./submodules/HaRe
- ./submodules/cabal-helper
- ./submodules/ghc-mod
- ./submodules/ghc-mod/core
- ./submodules/ghc-mod/ghc-project-types
- brittany-0.12.0.0
- butcher-1.3.1.1
- cabal-plan-0.3.0.0
- conduit-parse-0.2.1.0
- constrained-dynamic-0.1.0.0
- czipwith-1.0.1.0
- floskell-0.10.0
- ghc-exactprint-0.5.8.2
- haddock-api-2.18.1
- haddock-library-1.4.4
- haskell-lsp-0.17.0.0
- haskell-lsp-types-0.17.0.0
- haskell-src-exts-1.21.0
- haskell-src-exts-util-0.2.5
- hlint-2.1.17 # last hlint supporting GHC 8.2
- hoogle-5.0.17.9
- hsimport-0.8.8
- lsp-test-0.8.0.0
- monad-dijkstra-0.1.1.2
- pretty-show-1.8.2
- rope-utf16-splay-0.3.1.0
- sorted-list-0.2.1.0
- syz-0.2.0.0
# To make build work in windows 7
- unix-time-0.4.7
flags:
haskell-ide-engine:
pedantic: true
hie-plugin-api:
pedantic: true
nix:
packages: [ icu libcxx zlib ]
concurrent-tests: false