Skip to content

Commit

Permalink
Allow hashable-1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej authored and RyanGlScott committed Jul 5, 2024
1 parent ed17233 commit c1f4743
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@ jobs:
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package lens-properties" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
cat >> cabal.project <<EOF
allow-newer: aeson-2.2.3.0:hashable
allow-newer: semialign-1.3.1:hashable
allow-newer: strict-0.5.1:hashable
allow-newer: these-1.2.1:hashable
allow-newer: unordered-containers-0.2.20:hashable
allow-newer: witherable-0.5:hashable
allow-newer: cassava-0.5.3.1:hashable
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(lens|lens-examples|lens-properties)$/; }' >> cabal.project.local
cat cabal.project
Expand Down
9 changes: 9 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
packages: .
./examples
./lens-properties

-- TODO: remove this when dependencies catch up
allow-newer: aeson-2.2.3.0:hashable
allow-newer: semialign-1.3.1:hashable
allow-newer: strict-0.5.1:hashable
allow-newer: these-1.2.1:hashable
allow-newer: unordered-containers-0.2.20:hashable
allow-newer: witherable-0.5:hashable
allow-newer: cassava-0.5.3.1:hashable
2 changes: 1 addition & 1 deletion lens.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ library
filepath >= 1.2.0.0 && < 1.6,
free >= 5.1.5 && < 6,
ghc-prim,
hashable >= 1.2.7.0 && < 1.5,
hashable >= 1.2.7.0 && < 1.6,
indexed-traversable >= 0.1 && < 0.2,
indexed-traversable-instances >= 0.1 && < 0.2,
kan-extensions >= 5 && < 6,
Expand Down

0 comments on commit c1f4743

Please sign in to comment.