Skip to content

Commit 1b0a556

Browse files
committed
Remove proto-lens SRP
1 parent 779f539 commit 1b0a556

5 files changed

Lines changed: 23 additions & 32 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
project: cardano-api
2+
pr: 1185
3+
kind:
4+
- breaking
5+
- maintenance
6+
description: |
7+
Bump `cardano-ledger-core` lower bound to `>=1.20` (required by
8+
`ouroboros-consensus-3.0.x`).
9+
10+
Remove the `proto-lens` source-repository-package stanza from `cabal.project`.
11+
GHC 9.12-compatible `proto-lens` (`>=0.7.1.7`) is now available on Hackage,
12+
so the SRP workaround is no longer required.

cabal.project

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ repository cardano-haskell-packages
1313
-- See CONTRIBUTING for information about these, including some Nix commands
1414
-- you need to run if you change them
1515
index-state:
16-
, hackage.haskell.org 2026-03-22T23:17:32Z
17-
, cardano-haskell-packages 2026-04-09T12:05:18Z
16+
, hackage.haskell.org 2026-04-17T09:20:55Z
17+
, cardano-haskell-packages 2026-04-15T11:20:53Z
1818

1919
active-repositories:
2020
, :rest
@@ -144,27 +144,6 @@ if arch(wasm32)
144144
package digest
145145
flags: -pkg-config
146146

147-
-- GHC 9.12 and later support in master
148-
if impl(ghc >= 9.12)
149-
source-repository-package
150-
type: git
151-
location: https://github.com/google/proto-lens
152-
tag: 9b41fe0e10e8fe12ec508a3b361d0f0c2217c491
153-
--sha256: sha256-ruTbbUKVJBPANnm6puigtp26mmiVDd0jMpLfJLOuUpU=
154-
subdir:
155-
discrimination-ieee754
156-
proto-lens-arbitrary
157-
proto-lens-benchmarks
158-
proto-lens-discrimination
159-
proto-lens-optparse
160-
proto-lens-protobuf-types
161-
proto-lens-protoc
162-
proto-lens-runtime
163-
proto-lens-setup
164-
proto-lens-tests-dep
165-
proto-lens-tests
166-
proto-lens
167-
168147
-- IMPORTANT
169148
-- Do NOT add more source-repository-package stanzas here unless they are strictly
170149
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.

cardano-api/cardano-api.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ library
146146
cardano-ledger-binary >=1.6,
147147
cardano-ledger-byron >=1.2,
148148
cardano-ledger-conway >=1.19,
149-
cardano-ledger-core >=1.17 && <1.20,
149+
cardano-ledger-core >=1.20,
150150
cardano-ledger-dijkstra >=0.1,
151151
cardano-ledger-mary >=1.8,
152152
cardano-ledger-shelley >=1.16,
@@ -176,7 +176,7 @@ library
176176
network-mux,
177177
nothunks,
178178
ordered-containers,
179-
ouroboros-consensus:{cardano, diffusion, ouroboros-consensus, protocol} ^>=3.0,
179+
ouroboros-consensus:{cardano, diffusion, ouroboros-consensus, protocol} ^>=3.0
180180
ouroboros-network:{api, framework, ouroboros-network, protocols} ^>=1.1,
181181
parsec,
182182
plutus-core ^>=1.61,

cardano-rpc/cardano-rpc.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ library
8787
generic-data,
8888
grapesy,
8989
grpc-spec,
90-
proto-lens >=0.7.1.6,
90+
proto-lens >=0.7.1.7,
9191
proto-lens-protobuf-types,
9292
random,
9393
rio,

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)