From 73d53a1d8f3106e7237fb0b75f26307f631db645 Mon Sep 17 00:00:00 2001 From: Vekhir <134215107+Vekhir@users.noreply.github.com> Date: Wed, 31 Jan 2024 21:24:21 +0100 Subject: [PATCH 1/4] Support GHC 9.8 --- chell-quickcheck/chell-quickcheck.cabal | 2 +- chell/chell.cabal | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chell-quickcheck/chell-quickcheck.cabal b/chell-quickcheck/chell-quickcheck.cabal index dbb922b..68150f4 100644 --- a/chell-quickcheck/chell-quickcheck.cabal +++ b/chell-quickcheck/chell-quickcheck.cabal @@ -23,7 +23,7 @@ library ghc-options: -Wall build-depends: - , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 + , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 , chell ^>= 0.5 , QuickCheck ^>= 2.14.2 , random ^>= 1.2.1 diff --git a/chell/chell.cabal b/chell/chell.cabal index d39bcf5..3082c89 100644 --- a/chell/chell.cabal +++ b/chell/chell.cabal @@ -29,13 +29,13 @@ library ghc-options: -Wall build-depends: - , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 + , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 , bytestring ^>= 0.11.4 || ^>= 0.12 , options ^>= 1.2.1 , patience ^>= 0.3 , random ^>= 1.2.1 - , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 - , text ^>= 1.2.5 || ^>= 2.0 + , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 + , text ^>= 1.2.5 || ^>= 2.0 || ^>= 2.1 , transformers ^>= 0.5.6 || ^>= 0.6 if flag(color-output) From 6d48ddff80f47494e255b7ccec70fd1a7636f4f2 Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Wed, 13 Nov 2024 11:13:11 +0100 Subject: [PATCH 2/4] Allow base < 4.22, Haskell-CI for GHC 9.2 - 9.12.0 --- .github/workflows/haskell-ci.yml | 268 ++++++++++++++++++++++++ cabal.haskell-ci | 1 + chell-hunit/chell-hunit.cabal | 10 +- chell-quickcheck/chell-quickcheck.cabal | 10 +- chell/chell.cabal | 12 +- 5 files changed, 297 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/haskell-ci.yml create mode 100644 cabal.haskell-ci diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml new file mode 100644 index 0000000..96a18c9 --- /dev/null +++ b/.github/workflows/haskell-ci.yml @@ -0,0 +1,268 @@ +# This GitHub workflow config has been generated by a script via +# +# haskell-ci 'github' 'cabal.project' +# +# To regenerate the script (for example after adjusting tested-with) run +# +# haskell-ci regenerate +# +# For more information, see https://github.com/andreasabel/haskell-ci +# +# version: 0.19.20241113 +# +# REGENDATA ("0.19.20241113",["github","cabal.project"]) +# +name: Haskell-CI +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + linux: + name: Haskell-CI - Linux - ${{ matrix.compiler }} + runs-on: ubuntu-20.04 + timeout-minutes: + 60 + container: + image: buildpack-deps:jammy + continue-on-error: ${{ matrix.allow-failure }} + strategy: + matrix: + include: + - compiler: ghc-9.12.0.20241031 + compilerKind: ghc + compilerVersion: 9.12.0.20241031 + setup-method: ghcup-prerelease + allow-failure: false + - compiler: ghc-9.10.1 + compilerKind: ghc + compilerVersion: 9.10.1 + setup-method: ghcup + allow-failure: false + - compiler: ghc-9.8.2 + compilerKind: ghc + compilerVersion: 9.8.2 + setup-method: ghcup + allow-failure: false + - compiler: ghc-9.6.6 + compilerKind: ghc + compilerVersion: 9.6.6 + setup-method: ghcup + allow-failure: false + - compiler: ghc-9.4.8 + compilerKind: ghc + compilerVersion: 9.4.8 + setup-method: ghcup + allow-failure: false + - compiler: ghc-9.2.8 + compilerKind: ghc + compilerVersion: 9.2.8 + setup-method: ghcup + allow-failure: false + fail-fast: false + steps: + - name: apt-get install + run: | + apt-get update + apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 + - name: Install GHCup + run: | + mkdir -p "$HOME/.ghcup/bin" + curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup" + chmod a+x "$HOME/.ghcup/bin/ghcup" + - name: Install cabal-install + run: | + "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false) + echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV" + - name: Install GHC (GHCup) + if: matrix.setup-method == 'ghcup' + run: | + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) + HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER") + HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#') + HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#') + echo "HC=$HC" >> "$GITHUB_ENV" + echo "HCPKG=$HCPKG" >> "$GITHUB_ENV" + echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV" + env: + HCKIND: ${{ matrix.compilerKind }} + HCNAME: ${{ matrix.compiler }} + HCVER: ${{ matrix.compilerVersion }} + - name: Install GHC (GHCup prerelease) + if: matrix.setup-method == 'ghcup-prerelease' + run: | + "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml; + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) + HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER") + HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#') + HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#') + echo "HC=$HC" >> "$GITHUB_ENV" + echo "HCPKG=$HCPKG" >> "$GITHUB_ENV" + echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV" + env: + HCKIND: ${{ matrix.compilerKind }} + HCNAME: ${{ matrix.compiler }} + HCVER: ${{ matrix.compilerVersion }} + - name: Set PATH and environment variables + run: | + echo "$HOME/.cabal/bin" >> $GITHUB_PATH + echo "LANG=C.UTF-8" >> "$GITHUB_ENV" + echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV" + echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV" + HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))') + echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV" + echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV" + echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV" + if [ $((HCNUMVER >= 91200)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi + echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV" + env: + HCKIND: ${{ matrix.compilerKind }} + HCNAME: ${{ matrix.compiler }} + HCVER: ${{ matrix.compilerVersion }} + - name: env + run: | + env + - name: write cabal config + run: | + mkdir -p $CABAL_DIR + cat >> $CABAL_CONFIG <> $CABAL_CONFIG <> $CABAL_CONFIG < cabal-plan.xz + echo 'f62ccb2971567a5f638f2005ad3173dba14693a45154c1508645c52289714cb2 cabal-plan.xz' | sha256sum -c - + xz -d < cabal-plan.xz > $HOME/.cabal/bin/cabal-plan + rm -f cabal-plan.xz + chmod a+x $HOME/.cabal/bin/cabal-plan + cabal-plan --version + - name: checkout + uses: actions/checkout@v4 + with: + path: source + - name: initial cabal.project for sdist + run: | + touch cabal.project + echo "packages: $GITHUB_WORKSPACE/source/chell" >> cabal.project + echo "packages: $GITHUB_WORKSPACE/source/chell-hunit" >> cabal.project + echo "packages: $GITHUB_WORKSPACE/source/chell-quickcheck" >> cabal.project + cat cabal.project + - name: sdist + run: | + mkdir -p sdist + $CABAL sdist all --output-dir $GITHUB_WORKSPACE/sdist + - name: unpack + run: | + mkdir -p unpacked + find sdist -maxdepth 1 -type f -name '*.tar.gz' -exec tar -C $GITHUB_WORKSPACE/unpacked -xzvf {} \; + - name: generate cabal.project + run: | + PKGDIR_chell="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/chell-[0-9.]*')" + echo "PKGDIR_chell=${PKGDIR_chell}" >> "$GITHUB_ENV" + PKGDIR_chell_hunit="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/chell-hunit-[0-9.]*')" + echo "PKGDIR_chell_hunit=${PKGDIR_chell_hunit}" >> "$GITHUB_ENV" + PKGDIR_chell_quickcheck="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/chell-quickcheck-[0-9.]*')" + echo "PKGDIR_chell_quickcheck=${PKGDIR_chell_quickcheck}" >> "$GITHUB_ENV" + rm -f cabal.project cabal.project.local + touch cabal.project + touch cabal.project.local + echo "packages: ${PKGDIR_chell}" >> cabal.project + echo "packages: ${PKGDIR_chell_hunit}" >> cabal.project + echo "packages: ${PKGDIR_chell_quickcheck}" >> cabal.project + echo "package chell" >> cabal.project + echo " ghc-options: -Werror=missing-methods" >> cabal.project + echo "package chell-hunit" >> cabal.project + echo " ghc-options: -Werror=missing-methods" >> cabal.project + echo "package chell-quickcheck" >> cabal.project + echo " ghc-options: -Werror=missing-methods" >> cabal.project + cat >> cabal.project <> cabal.project + fi + $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(chell|chell-hunit|chell-quickcheck)$/; }' >> cabal.project.local + cat cabal.project + cat cabal.project.local + - name: dump install plan + run: | + $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all + cabal-plan + - name: restore cache + uses: actions/cache/restore@v4 + with: + key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} + path: ~/.cabal/store + restore-keys: ${{ runner.os }}-${{ matrix.compiler }}- + - name: install dependencies + run: | + $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --dependencies-only -j2 all + $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dependencies-only -j2 all + - name: build w/o tests + run: | + $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all + - name: build + run: | + $CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH all --write-ghc-environment-files=always + - name: cabal check + run: | + cd ${PKGDIR_chell} || false + ${CABAL} -vnormal check + cd ${PKGDIR_chell_hunit} || false + ${CABAL} -vnormal check + cd ${PKGDIR_chell_quickcheck} || false + ${CABAL} -vnormal check + - name: haddock + run: | + $CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all + - name: unconstrained build + run: | + rm -f cabal.project.local + $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all + - name: save cache + if: always() + uses: actions/cache/save@v4 + with: + key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }} + path: ~/.cabal/store diff --git a/cabal.haskell-ci b/cabal.haskell-ci new file mode 100644 index 0000000..6863845 --- /dev/null +++ b/cabal.haskell-ci @@ -0,0 +1 @@ +branches: master \ No newline at end of file diff --git a/chell-hunit/chell-hunit.cabal b/chell-hunit/chell-hunit.cabal index 55703cf..ef07314 100644 --- a/chell-hunit/chell-hunit.cabal +++ b/chell-hunit/chell-hunit.cabal @@ -18,12 +18,20 @@ description: extra-source-files: *.md +tested-with: + GHC == 9.12.0 + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.6 + GHC == 9.4.8 + GHC == 9.2.8 + library default-language: GHC2021 ghc-options: -Wall build-depends: - , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 + , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20 || ^>= 4.21 , chell ^>= 0.5 , HUnit ^>= 1.6.2 diff --git a/chell-quickcheck/chell-quickcheck.cabal b/chell-quickcheck/chell-quickcheck.cabal index 68150f4..403d7ef 100644 --- a/chell-quickcheck/chell-quickcheck.cabal +++ b/chell-quickcheck/chell-quickcheck.cabal @@ -18,12 +18,20 @@ description: extra-source-files: *.md +tested-with: + GHC == 9.12.0 + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.6 + GHC == 9.4.8 + GHC == 9.2.8 + library default-language: GHC2021 ghc-options: -Wall build-depends: - , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 + , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20 || ^>= 4.21 , chell ^>= 0.5 , QuickCheck ^>= 2.14.2 , random ^>= 1.2.1 diff --git a/chell/chell.cabal b/chell/chell.cabal index 3082c89..5a1a242 100644 --- a/chell/chell.cabal +++ b/chell/chell.cabal @@ -20,6 +20,14 @@ description: extra-source-files: *.md +tested-with: + GHC == 9.12.0 + GHC == 9.10.1 + GHC == 9.8.2 + GHC == 9.6.6 + GHC == 9.4.8 + GHC == 9.2.8 + flag color-output description: Enable colored output in test results default: True @@ -29,12 +37,12 @@ library ghc-options: -Wall build-depends: - , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 + , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20 || ^>= 4.21 , bytestring ^>= 0.11.4 || ^>= 0.12 , options ^>= 1.2.1 , patience ^>= 0.3 , random ^>= 1.2.1 - , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 + , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 || ^>= 2.22 , text ^>= 1.2.5 || ^>= 2.0 || ^>= 2.1 , transformers ^>= 0.5.6 || ^>= 0.6 From 9ffcae786267595b21077ed109aecf0433296acc Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Wed, 13 Nov 2024 17:37:46 +0100 Subject: [PATCH 3/4] Allow ansi-terminal-1.1 --- .gitignore | 2 ++ chell/chell.cabal | 3 ++- stack.yaml | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 stack.yaml diff --git a/.gitignore b/.gitignore index fcc048c..81c772e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ dist-* .ghc.* result result-* +.stack-work/ +stack*.yaml.lock diff --git a/chell/chell.cabal b/chell/chell.cabal index 5a1a242..8e789d2 100644 --- a/chell/chell.cabal +++ b/chell/chell.cabal @@ -2,6 +2,7 @@ cabal-version: 3.0 name: chell version: 0.5.0.2 +x-revision: 2 synopsis: A simple and intuitive library for automated testing. category: Testing @@ -48,7 +49,7 @@ library if flag(color-output) build-depends: - , ansi-terminal ^>= 1.0 + , ansi-terminal ^>= 1.0 || ^>= 1.1 exposed-modules: Test.Chell diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..6c76f34 --- /dev/null +++ b/stack.yaml @@ -0,0 +1,9 @@ +resolver: nightly-2024-10-21 + +packages: +- chell +- chell-hunit +- chell-quickcheck + +extra-deps: +- patience-0.3 From 5e26ea8b0e645468c87fcc488b2471a877770600 Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Tue, 7 Jan 2025 09:25:12 +0100 Subject: [PATCH 4/4] Support GHC 9.12.1 --- .github/workflows/haskell-ci.yml | 48 +++++-------------------- chell-hunit/chell-hunit.cabal | 2 +- chell-quickcheck/chell-quickcheck.cabal | 5 +-- chell/chell.cabal | 8 ++--- 4 files changed, 17 insertions(+), 46 deletions(-) diff --git a/.github/workflows/haskell-ci.yml b/.github/workflows/haskell-ci.yml index 96a18c9..d56c819 100644 --- a/.github/workflows/haskell-ci.yml +++ b/.github/workflows/haskell-ci.yml @@ -6,11 +6,11 @@ # # haskell-ci regenerate # -# For more information, see https://github.com/andreasabel/haskell-ci +# For more information, see https://github.com/haskell-CI/haskell-ci # -# version: 0.19.20241113 +# version: 0.19.20241223 # -# REGENDATA ("0.19.20241113",["github","cabal.project"]) +# REGENDATA ("0.19.20241223",["github","cabal.project"]) # name: Haskell-CI on: @@ -32,10 +32,10 @@ jobs: strategy: matrix: include: - - compiler: ghc-9.12.0.20241031 + - compiler: ghc-9.12.1 compilerKind: ghc - compilerVersion: 9.12.0.20241031 - setup-method: ghcup-prerelease + compilerVersion: 9.12.1 + setup-method: ghcup allow-failure: false - compiler: ghc-9.10.1 compilerKind: ghc @@ -75,8 +75,8 @@ jobs: chmod a+x "$HOME/.ghcup/bin/ghcup" - name: Install cabal-install run: | - "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false) - echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV" + "$HOME/.ghcup/bin/ghcup" install cabal 3.14.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false) + echo "CABAL=$HOME/.ghcup/bin/cabal-3.14.1.0 -vnormal+nowrap" >> "$GITHUB_ENV" - name: Install GHC (GHCup) if: matrix.setup-method == 'ghcup' run: | @@ -91,21 +91,6 @@ jobs: HCKIND: ${{ matrix.compilerKind }} HCNAME: ${{ matrix.compiler }} HCVER: ${{ matrix.compilerVersion }} - - name: Install GHC (GHCup prerelease) - if: matrix.setup-method == 'ghcup-prerelease' - run: | - "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml; - "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) - HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER") - HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#') - HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#') - echo "HC=$HC" >> "$GITHUB_ENV" - echo "HCPKG=$HCPKG" >> "$GITHUB_ENV" - echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV" - env: - HCKIND: ${{ matrix.compilerKind }} - HCNAME: ${{ matrix.compiler }} - HCVER: ${{ matrix.compilerVersion }} - name: Set PATH and environment variables run: | echo "$HOME/.cabal/bin" >> $GITHUB_PATH @@ -116,7 +101,7 @@ jobs: echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV" echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV" echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV" - if [ $((HCNUMVER >= 91200)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi + echo "HEADHACKAGE=false" >> "$GITHUB_ENV" echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV" env: HCKIND: ${{ matrix.compilerKind }} @@ -144,18 +129,6 @@ jobs: repository hackage.haskell.org url: http://hackage.haskell.org/ EOF - if $HEADHACKAGE; then - cat >> $CABAL_CONFIG <> $CABAL_CONFIG <> cabal.project cat >> cabal.project <> cabal.project - fi $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(chell|chell-hunit|chell-quickcheck)$/; }' >> cabal.project.local cat cabal.project cat cabal.project.local diff --git a/chell-hunit/chell-hunit.cabal b/chell-hunit/chell-hunit.cabal index ef07314..2c20d95 100644 --- a/chell-hunit/chell-hunit.cabal +++ b/chell-hunit/chell-hunit.cabal @@ -19,7 +19,7 @@ description: extra-source-files: *.md tested-with: - GHC == 9.12.0 + GHC == 9.12.1 GHC == 9.10.1 GHC == 9.8.2 GHC == 9.6.6 diff --git a/chell-quickcheck/chell-quickcheck.cabal b/chell-quickcheck/chell-quickcheck.cabal index 403d7ef..e854412 100644 --- a/chell-quickcheck/chell-quickcheck.cabal +++ b/chell-quickcheck/chell-quickcheck.cabal @@ -2,6 +2,7 @@ cabal-version: 3.0 name: chell-quickcheck version: 0.2.5.4 +x-revision: 2 synopsis: QuickCheck support for Chell category: Testing @@ -19,7 +20,7 @@ description: extra-source-files: *.md tested-with: - GHC == 9.12.0 + GHC == 9.12.1 GHC == 9.10.1 GHC == 9.8.2 GHC == 9.6.6 @@ -34,7 +35,7 @@ library , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19 || ^>= 4.20 || ^>= 4.21 , chell ^>= 0.5 , QuickCheck ^>= 2.14.2 - , random ^>= 1.2.1 + , random ^>= 1.2.1 || ^>= 1.3.0 exposed-modules: Test.Chell.QuickCheck diff --git a/chell/chell.cabal b/chell/chell.cabal index 8e789d2..4e6be34 100644 --- a/chell/chell.cabal +++ b/chell/chell.cabal @@ -2,7 +2,7 @@ cabal-version: 3.0 name: chell version: 0.5.0.2 -x-revision: 2 +x-revision: 4 synopsis: A simple and intuitive library for automated testing. category: Testing @@ -22,7 +22,7 @@ description: extra-source-files: *.md tested-with: - GHC == 9.12.0 + GHC == 9.12.1 GHC == 9.10.1 GHC == 9.8.2 GHC == 9.6.6 @@ -42,8 +42,8 @@ library , bytestring ^>= 0.11.4 || ^>= 0.12 , options ^>= 1.2.1 , patience ^>= 0.3 - , random ^>= 1.2.1 - , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 || ^>= 2.22 + , random ^>= 1.2.1 || ^>= 1.3.0 + , template-haskell ^>=2.18 || ^>= 2.19 || ^>= 2.20 || ^>= 2.21 || ^>= 2.22 || ^>= 2.23 , text ^>= 1.2.5 || ^>= 2.0 || ^>= 2.1 , transformers ^>= 0.5.6 || ^>= 0.6