hackage-server icon indicating copy to clipboard operation
hackage-server copied to clipboard

Feels like test runner does not account for revisions

Open Bodigrim opened this issue 7 months ago • 0 comments

It feels like the builder uses an original Cabal file instead of a revised one. E. g., test log at https://hackage.haskell.org/package/poly-0.5.1.0/reports/2 says:

Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: poly-0.5.1.0 (user goal)
[__1] trying: poly:+sparse
[__2] trying: vector-sized-1.6.1 (dependency of poly +sparse)
[__3] trying: indexed-traversable-0.1.4 (dependency of vector-sized)
[__4] next goal: containers (dependency of indexed-traversable)
[__4] rejecting: containers-0.6.8/installed-inplace (conflict: poly =>
deepseq>=1.1 && <1.5, containers => deepseq==1.5.1.0/installed-inplace)
[__4] rejecting: containers-0.8 (conflict: indexed-traversable =>
containers>=0.6.0.1 && <0.8)
[__4] trying: containers-0.7
[__5] trying: template-haskell-2.21.0.0/installed-inplace (dependency of
containers)
[__6] next goal: pretty (dependency of template-haskell)
[__6] rejecting: pretty-1.1.3.6/installed-inplace (conflict: poly =>
deepseq>=1.1 && <1.5, pretty => deepseq==1.5.1.0/installed-inplace)
[__6] rejecting: pretty-1.1.3.6, pretty-1.1.3.5, pretty-1.1.3.4,
pretty-1.1.3.3, pretty-1.1.3.2, pretty-1.1.3.1, pretty-1.1.2.1,
pretty-1.1.2.0, pretty-1.1.1.3, pretty-1.1.1.2, pretty-1.1.1.1,
pretty-1.1.1.0, pretty-1.1.0.0, pretty-1.0.1.2, pretty-1.0.1.1,
pretty-1.0.1.0, pretty-1.0.0.0 (conflict: template-haskell =>
pretty==1.1.3.6/installed-inplace)
[__6] fail (backjumping, conflict set: poly, pretty, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: template-haskell, pretty, base,
hashable, text, tagged, poly, vector-sized, distributive, containers,
distributive:tagged, poly:sparse, indexed-traversable
Try running with --minimize-conflict-set to improve the error message.

Yet conflict: poly =>deepseq>=1.1 && <1.5, pretty => deepseq==1.5.1.0/installed-inplace) is not the case for the latest revision https://hackage.haskell.org/package/poly-0.5.1.0/revisions/, it only holds for the original Cabal file.

Bodigrim avatar May 14 '25 23:05 Bodigrim