From 89050fb1ea8788c5efdebf4747d204556b5cca24 Mon Sep 17 00:00:00 2001 From: Will Coster Date: Tue, 1 Jun 2021 17:59:05 -0700 Subject: [PATCH 1/2] Re-enable prometheus-metrics-ghc & wai-middleware-prometheus These two libraries were disabled referencing fimad/prometheus-haskell#39 which was fixed in 2018. It looks like they were never re-enabled in stackage. I also just ran tests for both of these packages using lts-17.14 and nightly-2021-06-01, both compile and tests pass with no issues. Fixes fimad/prometheus-haskell#61 --- build-constraints.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index d146ce38..16b6208a 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -2101,10 +2101,10 @@ packages: "Will Coster @fimad": - prometheus-client - - prometheus-metrics-ghc < 0 # Build failure: https://github.com/fimad/prometheus-haskell/issues/39 + - prometheus-metrics-ghc - scalpel - scalpel-core - - wai-middleware-prometheus < 0 # GHC 8.4 via prometheus-client + - wai-middleware-prometheus "William Casarin @jb55": - bson-lens < 0 # via bson From 491c5db646bbf9c4917f7ff90bc779bae0d2af1d Mon Sep 17 00:00:00 2001 From: Dan Burton Date: Thu, 3 Jun 2021 19:59:56 -0400 Subject: [PATCH 2/2] constrain req per #5747 --- build-constraints.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/build-constraints.yaml b/build-constraints.yaml index 50453e4c..d3e2cd49 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -5143,6 +5143,7 @@ packages: # https://github.com/commercialhaskell/stackage/issues/5747 - http-client < 0.7 - http-client-openssl < 0.3.3 + - req < 3.9.1 # https://github.com/commercialhaskell/stackage/issues/5836 - clock < 0.8.2