Gabriella439 / Haskell-Pipes-Safe-Library

Safety for the pipes ecosystem
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

pipes-safe does not permit GHC 9.8.1 #66

Closed ysangkok closed 11 months ago

ysangkok commented 11 months ago

This cabal execution demonstrates the issue:

$ cabal repl -w ghc-9.8.1 -b pipes-safe -c 'pipes-safe>=2.3.5'                              
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: fake-package-0 (user goal)
[__1] trying: pipes-safe-2.3.5 (dependency of fake-package)
[__2] next goal: base (dependency of fake-package)
[__2] rejecting: base-4.19.0.0/installed-e327 (conflict: pipes-safe =>
base>=4.14 && <4.19)
[__2] skipping: base-4.19.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=4.14 && <4.19' from
'pipes-safe')
[__2] rejecting: base-4.18.1.0, base-4.18.0.0, base-4.17.2.0, base-4.17.1.0,
base-4.17.0.0, base-4.16.4.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0,
base-4.16.0.0, base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0,
base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0,
base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
[__2] fail (backjumping, conflict set: base, fake-package, pipes-safe)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, pipes-safe, fake-package

A revision is sufficient since the bound only needs bumping:

% cabal repl -w ghc-9.8.1 -b pipes-safe -c 'pipes-safe>=2.3.5' --allow-newer=pipes-safe:base
Resolving dependencies...
Build profile: -w ghc-9.8.1 -O1
In order, the following will be built (use -v for more details):
 - pipes-4.3.16 (lib) (requires build)
 - pipes-safe-2.3.5 (lib) (requires download & build)
 - fake-package-0 (lib) (first run)
Downloading  pipes-safe-2.3.5
Starting     pipes-4.3.16 (lib)
Downloaded   pipes-safe-2.3.5
Building     pipes-4.3.16 (lib)
Installing   pipes-4.3.16 (lib)
Completed    pipes-4.3.16 (lib)
Starting     pipes-safe-2.3.5 (lib)
Building     pipes-safe-2.3.5 (lib)
Installing   pipes-safe-2.3.5 (lib)
Completed    pipes-safe-2.3.5 (lib)
Configuring library for fake-package-0..
Warning: No exposed modules
GHCi, version 9.8.1: https://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /tmp/cabal-repl.-127380/setcwd.ghci
ghci>