Skip to content

Commit

Permalink
Merge pull request #278 from gelisam/gelisam/oldest-8.2
Browse files Browse the repository at this point in the history
bump lower bounds
  • Loading branch information
gelisam committed Feb 10, 2024
2 parents 16a16f7 + d73ff13 commit c9a377e
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 85 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,7 @@ jobs:
stack-setup-ghc: true
stack-no-global: true

# For some reason, installing happy from lts-9.0 fails unless some other
# version of happy is already in the PATH. So let's install a version of
# happy from an lts which does not have this problem.
- name: Install happy
if: matrix.stack_yaml == 'oldest-supported-lts.yaml'
run: |
stack --stack-yaml=stack.yaml install happy
- name: Build with happy hack
if: matrix.stack_yaml == 'oldest-supported-lts.yaml'
run: |
PATH="$HOME/.local/bin:$PATH" stack --stack-yaml=${{ matrix.stack_yaml }} install --test --bench --no-run-tests --no-run-benchmarks
- name: Build
if: matrix.stack_yaml == 'stack.yaml'
run: |
stack --stack-yaml=${{ matrix.stack_yaml }} install --test --bench --no-run-tests --no-run-benchmarks
Expand Down
76 changes: 37 additions & 39 deletions haskell-awk.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ cabal-version: 1.24
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 186d50c3926564fc359e64329c322981465bb7d43c4c1c3fb8f2edfa8c60a5f0

name: haskell-awk
version: 1.2.0.1
Expand Down Expand Up @@ -49,8 +47,8 @@ source-repository head

custom-setup
setup-depends:
Cabal >=1.24.2.0
, base >=4.9 && <5
Cabal >=2.0.1.1
, base >=4.10.1.0 && <5
, cabal-doctest >=1.0.4

library
Expand All @@ -67,11 +65,11 @@ library
runtime
ghc-options: -Wall
build-depends:
base >=4.9 && <5
, bytestring >=0.10.8.1
, containers >=0.5.7.1
, ghc >=8.0.2
, list-t >=1
base >=4.10.1.0 && <5
, bytestring >=0.10.8.2
, containers >=0.5.10.2
, ghc >=8.2.2
, list-t >=1.0.0.1
, stringsearch >=0.3.6.6
default-language: Haskell2010
if os(windows)
Expand Down Expand Up @@ -120,21 +118,21 @@ executable hawk
src
ghc-options: -Wall
build-depends:
base >=4.9 && <5
, bytestring >=0.10.8.1
, containers >=0.5.7.1
, directory >=1.3.0.0
, extra >=1.5.3
, filelock >=0.1.0.1
, filepath >=1.4.1.1
, ghc >=8.0.2
base >=4.10.1.0 && <5
, bytestring >=0.10.8.2
, containers >=0.5.10.2
, directory >=1.3.0.2
, extra >=1.6.2
, filelock >=0.1.1.2
, filepath >=1.4.1.2
, ghc >=8.2.2
, haskell-awk
, haskell-src-exts >=1.18.2
, haskell-src-exts >=1.19.1
, hint >=0.7.0
, list-t >=1
, list-t >=1.0.0.1
, mtl >=2.2.1
, process >=1.4.3.0
, template-haskell >=2.11.1.0
, process >=1.6.1.0
, template-haskell >=2.12.0.0
, transformers >=0.5.2.0
default-language: Haskell2010
if os(windows)
Expand Down Expand Up @@ -192,32 +190,32 @@ test-suite reference
tests
ghc-options: -Wall
build-depends:
HUnit >=1.5.0.0
, aeson >=1.1.2.0
, attoparsec >=0.13.1.0
, base >=4.9 && <5
, bytestring >=0.10.8.1
, containers >=0.5.7.1
, directory >=1.3.0.0
, doctest >=0.11.4
HUnit >=1.6.0.0
, aeson >=1.2.3.0
, attoparsec >=0.13.2.0
, base >=4.10.1.0 && <5
, bytestring >=0.10.8.2
, containers >=0.5.10.2
, directory >=1.3.0.2
, doctest >=0.13.0
, easy-file >=0.2.1
, exceptions >=0.8.3
, extra >=1.5.3
, filelock >=0.1.0.1
, filepath >=1.4.1.1
, ghc >=8.0.2
, extra >=1.6.2
, filelock >=0.1.1.2
, filepath >=1.4.1.2
, ghc >=8.2.2
, haskell-awk
, haskell-src-exts >=1.18.2
, haskell-src-exts >=1.19.1
, hint >=0.7.0
, hspec >=2.4.4
, list-t >=1
, list-t >=1.0.0.1
, mtl >=2.2.1
, process >=1.4.3.0
, template-haskell >=2.11.1.0
, temporary >=1.2.1
, process >=1.6.1.0
, template-haskell >=2.12.0.0
, temporary >=1.2.1.1
, test-framework >=0.8.1.1
, test-framework-hunit >=0.3.0.2
, time >=1.6.0.1
, time >=1.8.0.2
, transformers >=0.5.2.0
default-language: Haskell2010
if os(windows)
Expand Down
6 changes: 1 addition & 5 deletions oldest-supported-lts.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
resolver: lts-9.0
packages:
- .
extra-deps:
- cabal-doctest-1.0.4
resolver: lts-10.0
54 changes: 27 additions & 27 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ extra-source-files:

ghc-options: -Wall
dependencies:
- base >= 4.9 && < 5
- bytestring >= 0.10.8.1
- containers >= 0.5.7.1
- ghc >= 8.0.2
- list-t >= 1
- base >= 4.10.1.0 && < 5
- bytestring >= 0.10.8.2
- containers >= 0.5.10.2
- ghc >= 8.2.2
- list-t >= 1.0.0.1

# Windows is not currently supported, see issue #248
when:
Expand All @@ -35,8 +35,8 @@ when:

custom-setup:
dependencies:
- base >= 4.9 && < 5
- Cabal >= 1.24.2.0
- base >= 4.10.1.0 && < 5
- Cabal >= 2.0.1.1
- cabal-doctest >= 1.0.4

library:
Expand All @@ -48,16 +48,16 @@ executables:
hawk:
main: Main.hs
dependencies:
- directory >= 1.3.0.0
- extra >= 1.5.3
- filelock >= 0.1.0.1
- filepath >= 1.4.1.1
- directory >= 1.3.0.2
- extra >= 1.6.2
- filelock >= 0.1.1.2
- filepath >= 1.4.1.2
- haskell-awk
- haskell-src-exts >= 1.18.2
- haskell-src-exts >= 1.19.1
- hint >= 0.7.0
- mtl >= 2.2.1
- process >= 1.4.3.0
- template-haskell >= 2.11.1.0
- process >= 1.6.1.0
- template-haskell >= 2.12.0.0
- transformers >= 0.5.2.0
source-dirs: src

Expand All @@ -68,27 +68,27 @@ tests:
- tests
main: RunTests.hs
dependencies:
- aeson >= 1.1.2.0
- attoparsec >= 0.13.1.0
- directory >= 1.3.0.0
- doctest >= 0.11.4
- aeson >= 1.2.3.0
- attoparsec >= 0.13.2.0
- directory >= 1.3.0.2
- doctest >= 0.13.0
- easy-file >= 0.2.1
- exceptions >= 0.8.3
- extra >= 1.5.3
- filelock >= 0.1.0.1
- filepath >= 1.4.1.1
- extra >= 1.6.2
- filelock >= 0.1.1.2
- filepath >= 1.4.1.2
- haskell-awk
- haskell-src-exts >= 1.18.2
- haskell-src-exts >= 1.19.1
- hint >= 0.7.0
- hspec >= 2.4.4
- HUnit >= 1.5.0.0
- HUnit >= 1.6.0.0
- mtl >= 2.2.1
- process >= 1.4.3.0
- template-haskell >= 2.11.1.0
- temporary >= 1.2.1
- process >= 1.6.1.0
- template-haskell >= 2.12.0.0
- temporary >= 1.2.1.1
- test-framework >= 0.8.1.1
- test-framework-hunit >= 0.3.0.2
- time >= 1.6.0.1
- time >= 1.8.0.2
- transformers >= 0.5.2.0

tested-with:
Expand Down

0 comments on commit c9a377e

Please sign in to comment.