From 3964da345dd9e832e84f8daf992fd69eb6844170 Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Sat, 22 Jun 2024 20:45:33 -0400 Subject: [PATCH] Don't use tasty-quickcheck 0.11 API incompatible with our test suites --- Cabal-described/Cabal-described.cabal | 4 ++-- Cabal-tests/Cabal-tests.cabal | 4 ++-- cabal-install-solver/cabal-install-solver.cabal | 2 +- cabal-install/cabal-install.cabal | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cabal-described/Cabal-described.cabal b/Cabal-described/Cabal-described.cabal index 8f7f9c66750..d8471940cea 100644 --- a/Cabal-described/Cabal-described.cabal +++ b/Cabal-described/Cabal-described.cabal @@ -18,8 +18,8 @@ library , pretty , QuickCheck , rere >=0.1 && <0.3 - , tasty - , tasty-quickcheck + , tasty <1.6 + , tasty-quickcheck <0.11 exposed-modules: Distribution.Described diff --git a/Cabal-tests/Cabal-tests.cabal b/Cabal-tests/Cabal-tests.cabal index f48222332f4..dd443d1fc21 100644 --- a/Cabal-tests/Cabal-tests.cabal +++ b/Cabal-tests/Cabal-tests.cabal @@ -71,7 +71,7 @@ test-suite unit-tests , QuickCheck >=2.14 && <2.15 , tasty >=1.2.3 && <1.6 , tasty-hunit - , tasty-quickcheck + , tasty-quickcheck <0.11 , temporary , text @@ -176,7 +176,7 @@ test-suite rpmvercmp QuickCheck , tasty >=1.2.3 && <1.6 , tasty-hunit - , tasty-quickcheck + , tasty-quickcheck <0.11 c-sources: tests/cbits/rpmvercmp.c cc-options: -Wall diff --git a/cabal-install-solver/cabal-install-solver.cabal b/cabal-install-solver/cabal-install-solver.cabal index 6918f739b88..b2b2b12b7af 100644 --- a/cabal-install-solver/cabal-install-solver.cabal +++ b/cabal-install-solver/cabal-install-solver.cabal @@ -135,5 +135,5 @@ Test-Suite unit-tests , Cabal-syntax , cabal-install-solver , tasty >= 1.2.3 && <1.6 - , tasty-quickcheck + , tasty-quickcheck <0.11 , tasty-hunit >= 0.10 diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index f00041aa9e3..5f20b3db947 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -350,7 +350,7 @@ test-suite unit-tests zlib, tasty >= 1.2.3 && <1.6, tasty-golden >=2.3.1.1 && <2.4, - tasty-quickcheck, + tasty-quickcheck <0.11, tasty-expected-failure, tasty-hunit >= 0.10, tree-diff, @@ -438,6 +438,6 @@ test-suite long-tests tasty >= 1.2.3 && <1.6, tasty-expected-failure, tasty-hunit >= 0.10, - tasty-quickcheck, + tasty-quickcheck <0.11, QuickCheck >= 2.14 && <2.16, pretty-show >= 1.6.15