Skip to content

Commit 3a32c3f

Browse files
Merge #5012
5012: Bump CHaP and remove most constraints from the cabal file r=michaelpj a=michaelpj I revised a bunch of things in CHaP and the constraints are not needed any more. Co-authored-by: Michael Peyton Jones <[email protected]>
2 parents 0592629 + 41ad5d1 commit 3a32c3f

File tree

5 files changed

+26
-103
lines changed

5 files changed

+26
-103
lines changed

cabal.project

+16-93
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ repository cardano-haskell-packages
1212

1313
-- See CONTRIBUTING for information about these, including some Nix commands
1414
-- you need to run if you change them
15-
index-state: 2023-03-06T05:24:58Z
15+
index-state: 2023-03-18T05:24:58Z
1616

1717
index-state:
18-
, hackage.haskell.org 2023-03-06T05:24:58Z
19-
, cardano-haskell-packages 2023-03-21T10:00:52Z
18+
, hackage.haskell.org 2023-03-18T05:24:58Z
19+
, cardano-haskell-packages 2023-03-22T09:20:07Z
2020

2121
packages:
2222
cardano-api
@@ -82,105 +82,28 @@ tests: True
8282

8383
test-show-details: direct
8484

85-
constraints:
86-
hedgehog >= 1.0
87-
, dependent-sum >= 0.7.1.0
88-
, bimap >= 0.4.0
89-
, libsystemd-journal >= 1.4.4
90-
, systemd >= 2.3.0
91-
-- systemd-2.3.0 requires at least network 3.1.1.0 but it doesn't declare
92-
-- that dependency
93-
, network >= 3.1.1.0
94-
, HSOpenSSL >= 0.11.7.2
95-
, algebraic-graphs >= 0.7
96-
, protolude >= 0.3.2
97-
98-
-- TODO: these should be set in cabal files, but avoiding setting them in lower dependencies for initial CHaP release
99-
, cardano-prelude >= 0.1.0.1
100-
, base-deriving-via >= 0.1.0.0
101-
-- The cardano-binary API changes in 1.6.*.
102-
, cardano-binary == 1.5.*
103-
, cardano-binary-test >= 1.3.0
104-
, cardano-crypto-class >= 2.0.0.1
105-
, cardano-crypto-praos >= 2.0.0.0.1
106-
, cardano-crypto-tests >= 2.0.0.0.1
107-
, cardano-slotting >= 0.1.0.0
108-
, measures >= 0.1.0.0
109-
, orphans-deriving-via >= 0.1.0.0
110-
, cardano-strict-containers >= 0.1.0.1
111-
, plutus-core^>= 1.1
112-
, plutus-ledger-api^>= 1.1
113-
, plutus-tx >= 1.0.0.0
114-
, plutus-tx-plugin >= 1.0.0.0
115-
, prettyprinter-configurable >= 0.1.0.0
116-
, plutus-ghc-stub >= 8.6.5
117-
, word-array^>= 1.1
118-
, io-classes >= 0.2.0.0
119-
, typed-protocols >= 0.1.0.1
120-
, typed-protocols-examples >= 0.1.0.1
121-
, ekg-forward >= 0.2
122-
, cardano-ledger-conway >= 0.1.1.2
123-
, cardano-ledger-conway-test >= 0.1.1.2
124-
, cardano-ledger-shelley >= 0.1.1.2
125-
, cardano-ledger-shelley-test >= 0.1.1.2
126-
, cardano-ledger-alonzo >= 0.1.1.2
127-
, cardano-ledger-alonzo-test >= 0.1.1.2
128-
, cardano-crypto-test >= 1.4.2
129-
, cardano-crypto-wrapper >= 1.4.2
130-
, cardano-ledger-byron-test >= 1.4.2
131-
, cardano-ledger-byron >= 0.1.1.2
132-
, byron-spec-ledger >= 0.1.1.2
133-
, byron-spec-chain >= 0.1.1.2
134-
, cardano-ledger-babbage >= 0.1.1.2
135-
, cardano-ledger-babbage-test >= 0.1.1.2
136-
, cardano-ledger-shelley-ma >= 0.1.1.2
137-
, cardano-ledger-shelley-ma-test >= 0.1.1.2
138-
, cardano-ledger-pretty >= 0.1.1.2
139-
, small-steps-test >= 0.1.1.2
140-
, non-integral >= 0.1.1.2
141-
, cardano-data >= 0.1.1.2
142-
, set-algebra >= 0.1.1.2
143-
, cardano-protocol-tpraos >= 0.1.1.2
144-
, vector-map >= 0.1.1.2
145-
, small-steps >= 0.1.1.2
146-
, cardano-ledger-core >= 0.1.1.2
147-
, cardano-ledger-test >= 0.1.1.2
148-
, ledger-state >= 0.1.1.2
149-
, plutus-preprocessor >= 0.1.1.2
150-
, cardano-ledger-conway >= 0.1.1.2
151-
, cardano-data >= 0.1.1.1
152-
, cardano-ledger-core >= 0.1.1.2
153-
, cardano-ledger-pretty >= 0.1.1.2
154-
, hashable >= 1.4.0.0
155-
, text-short >= 0.1.5
156-
, Unique >= 0.4.7.8
157-
, tree-diff >= 0.2.2
158-
159-
-- Haddock is broken in this release. Waiting for the next release
160-
, http2 < 4.0.0
161-
162-
-- We'll need this once ouroboros has been pushed into CHaP
163-
-- extra-packages:
164-
-- ouroboros-consensus-cardano-tools == 0.1.0.0
165-
16685
package snap-server
16786
flags: +openssl
16887

16988
package comonad
17089
flags: -test-doctests
17190

17291
allow-newer:
173-
ekg:*
92+
-- ekg does not suport aeson 2: https://github.com/tibbe/ekg/issues/90
93+
ekg:aeson
94+
-- ekg does not suport newer snap
95+
, ekg:snap-server
96+
, ekg:snap-core
97+
-- cardano-node-capi depends on aeson > 2.1, even our patched ekg-json only
98+
-- supports between 2 and 2.1
17499
, ekg-json:aeson
175-
, monoidal-containers:aeson
176-
, size-based:template-haskell
177-
, snap-server:attoparsec
178-
, tree-diff:hashable
179-
, Unique:hashable
180-
, ouroboros-network:hashable
181-
, libsystemd-journal:base
182-
-- This is required for 9.2.
100+
-- These are currently required for 9.2.
101+
, enumerator:base
102+
, MonadCatchIO-transformers:base
183103
, katip:Win32
104+
, ekg:base
105+
, ekg:time
106+
, libsystemd-journal:base
184107

185108
-- IMPORTANT
186109
-- Do NOT add more source-repository-package stanzas here unless they are strictly

cardano-api/cardano-api.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ library gen
197197
, cardano-crypto-class ^>= 2.0
198198
, cardano-crypto-test ^>= 1.4
199199
, cardano-ledger-alonzo ^>= 0.1
200-
, cardano-ledger-alonzo-test
200+
, cardano-ledger-alonzo-test ^>= 0.1
201201
, cardano-ledger-byron-test ^>= 1.4
202202
, cardano-ledger-core ^>= 0.1
203203
, cardano-ledger-shelley ^>= 0.1

cardano-node/cardano-node.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ library
5757
if os(linux) && flag(systemd)
5858
cpp-options: -DSYSTEMD
5959
build-depends: lobemo-scribe-systemd
60-
, systemd
60+
, systemd >= 2.3.0
6161

6262
hs-source-dirs: src
6363

cardano-tracer/cardano-tracer.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ library
125125
build-depends: aeson
126126
, async
127127
, async-extras
128-
, bimap
128+
, bimap >= 0.4.0
129129
, blaze-html
130130
, bytestring
131131
, cardano-git-rev
@@ -162,7 +162,7 @@ library
162162
, yaml
163163

164164
if os(linux)
165-
build-depends: libsystemd-journal
165+
build-depends: libsystemd-journal >= 1.4.4
166166

167167
if os(windows)
168168
build-depends: Win32

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)