servant icon indicating copy to clipboard operation
servant copied to clipboard

allow filepath versions < 1.6, rebased

Open ysangkok opened this issue 1 year ago • 4 comments

Rebased version of #1724

ysangkok avatar Apr 24 '24 15:04 ysangkok

Rebased as requested @tchoutri

ysangkok avatar Apr 24 '24 15:04 ysangkok

Doesn't seem to actually work right now:

 % cabal build -c 'filepath >= 1.5' all
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: cookbook-basic-auth-0.1 (user goal)
[__1] trying: base-4.19.1.0/installed-eafb (dependency of cookbook-basic-auth)
[__2] trying: cookbook-openapi3-2.2 (user goal)
[__3] trying: servant-swagger-ui-0.3.5.5.0.0 (dependency of cookbook-openapi3)
[__4] trying: file-embed-lzma-0.0.1 (dependency of servant-swagger-ui)
[__5] next goal: filepath (dependency of file-embed-lzma)
[__5] rejecting: filepath-1.5.2.0 (conflict: file-embed-lzma =>
filepath>=1.1.4.1 && <1.5)

ysangkok avatar Apr 24 '24 16:04 ysangkok

I don't think phadej will bump this until GHC 9.10 is out with filepath-1.5. Since this is boot library:

  • https://github.com/phadej/file-embed-lzma/issues/15

ysangkok avatar Apr 24 '24 17:04 ysangkok

Ok we can wait for GHC 9.10 to be released. :)

tchoutri avatar Apr 25 '24 12:04 tchoutri

@ysangkok I believe the time has come.

tchoutri avatar May 31 '24 08:05 tchoutri

But file-embed-lzma hasn't been revised to allow GHC 9.10. So we're still blocked on the same issue.

ysangkok avatar Jun 01 '24 18:06 ysangkok

Subsumed by #1765. Since filepath is a boot library, it makes more sense to just upgrade it along with GHC.

ysangkok avatar Jun 19 '24 15:06 ysangkok