Skip to content

Commit

Permalink
Constraint versions
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed Nov 13, 2024
1 parent 2fca47d commit 8484050
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,39 @@ write-ghc-environment-files: always
-- IMPORTANT
-- Do NOT add more source-repository-package stanzas here unless they are strictly
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.

constraints:
-- Avoids this compilation issue:
--
-- src/PlutusLedgerApi/Common/Eval.hs:117:34: error:
-- Ambiguous occurrence 'show'
--
-- which is caused by plutus-ledger-api depending on text 2.1.1 at the time of writing,
-- whereas text 2.1.2 is available in our hackage snapshot.
-- So this can be removed when plutus-ledger-api starts depending on text>=2.1.2
text < 2.1.2
-- Avoid this compilation issue:
--
-- Duplicate instance declarations:
-- > instance (VP.Prim e, Arbitrary e) => Arbitrary (VP.Vector e)
-- > -- Defined at testlib/Test/Cardano/Ledger/Binary/Arbitrary.hs:152:10
-- > instance (VP.Prim a, Arbitrary a) => Arbitrary (VP.Vector a)
-- > -- Defined in ‘Test.QuickCheck.Instances.Vector’
--
-- which is caused by cardano-ledger-binary depending on quickcheck-instances 0.3.31 at the time of writing,
-- whereas quickcheck-instances 0.3.32 is available in our hackage snapshot.
-- So this can be removed when cardano-ledger-binary starts depending on quickcheck-instances>=0.3.32
, quickcheck-instances < 0.3.32
-- Avoids this compilation issue
--
-- > src/Cardano/Ledger/Orphans.hs:87:10: error: [GHC-59692]
-- > Duplicate instance declarations:
-- > instance Default Bool
-- > -- Defined at src/Cardano/Ledger/Orphans.hs:87:10
-- > instance [safe] Default Bool
-- > -- Defined in ‘data-default-0.8.0.0:Data.Default.Internal’
--
-- which is caused by cardano-ledger-core depending on deta-default 0.7.1.1 at the time of writing,
-- whereas data-default 0.8.0.0 is available in our hackage snapshot.
-- So this can be removed when cardano-ledger-core starts depending on data-default>=0.8.0.0
, data-default < 0.8.0.0

0 comments on commit 8484050

Please sign in to comment.