Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support random-1.3 #72

Open
LaurentRDC opened this issue Jan 6, 2025 · 2 comments · Fixed by #73
Open

Support random-1.3 #72

LaurentRDC opened this issue Jan 6, 2025 · 2 comments · Fixed by #73

Comments

@LaurentRDC
Copy link

Random 1.3 was just released without breaking changes.

Support for random-1.3 in test-framework is needed such that Cloud Haskell libraries can remain in stackage (haskell-distributed/distributed-process#464, commercialhaskell/stackage#7648)

@andreasabel
Copy link
Member

This will need code changes and a re-release, blocked on

$ cabal build all -c 'random >=1.3' --allow-newer=random

[ 8 of 24] Compiling Test.Framework.Seed ( src/Test/Framework/Seed.hs, /Users/abel/bin/src/test-framework/dist-newstyle/build/x86_64-osx/ghc-9.10.1/test-framework-0.8.2.0/build/Test/Framework/Seed.o, /Users/abel/bin/src/test-framework/dist-newstyle/build/x86_64-osx/ghc-9.10.1/test-framework-0.8.2.0/build/Test/Framework/Seed.dyn_o )
src/Test/Framework/Seed.hs:13:15: error: [GHC-87543]
    Ambiguous occurrence ‘Seed’.
    It could refer to
       either ‘System.Random.Seed’,
              imported from ‘System.Random’ at src/Test/Framework/Seed.hs:5:1-20
              (and originally defined in ‘System.Random.Internal’),
           or ‘Test.Framework.Seed.Seed’,
              defined at src/Test/Framework/Seed.hs:10:1.
   |
13 | instance Show Seed where
   |               ^^^^

@andreasabel
Copy link
Member

Let's leave this open until it is fixed by a release on Hackage.

@andreasabel andreasabel reopened this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants