commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
526 stars 802 forks source link

Build cycle detected #7493

Open mihaimaruseac opened 1 month ago

mihaimaruseac commented 1 month ago
   In the dependencies for temporary-1.3:
     * random dependency cycle detected: random, temporary, doctest,
       prettyprinter-ansi-terminal, optparse-applicative, tasty, tasty-bench, random,
       test-framework, test-framework-quickcheck2, half, OpenGLRaw, OpenGL, OpenAL, ALUT
mihaimaruseac commented 1 month ago

It seems it was caused by doctest (cc @sol)

sol commented 1 month ago

Package should not regularly depend on doctest but instead use the documented way: https://github.com/sol/doctest/tree/main?tab=readme-ov-file#running-doctest-for-a-cabal-package

This should be fixed by https://github.com/haskell/random/pull/165.

mihaimaruseac commented 1 month ago

Thank you!