haskell-graphql / graphql-api

Write type-safe GraphQL services in Haskell
BSD 3-Clause "New" or "Revised" License
406 stars 35 forks source link

Add upper bound to protolude. #122

Closed teh closed 7 years ago

teh commented 7 years ago

@tibastral can you give this branch a spin?

tibastral commented 7 years ago

I have that response :

Resolving dependencies... cabal: Could not resolve dependencies: trying: graphql-api-0.1.2 (user goal) trying: base-4.10.0.0/installed-4.1... (dependency of graphql-api-0.1.2) next goal: protolude (dependency of graphql-api-0.1.2) rejecting: protolude-0.2/installed-LXt..., protolude-0.2 (conflict: graphql-api => protolude<0.2) rejecting: protolude-0.1.10, protolude-0.1.9, protolude-0.1.8, protolude-0.1.7, protolude-0.1.6, protolude-0.1.5, protolude-0.1.4, protolude-0.1.3, protolude-0.1.2, protolude-0.1.1 (conflict: base==4.10.0.0/installed-4.1..., protolude => base>=4.6 && <4.10) rejecting: protolude-0.1.0 (conflict: base==4.10.0.0/installed-4.1..., protolude => base<0) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, graphql-api, protolude

jml commented 7 years ago

What ghc are you using? On Tue, 5 Sep 2017 at 09:59, Thibaut Assus notifications@github.com wrote:

I have that response :

Resolving dependencies... cabal: Could not resolve dependencies: trying: graphql-api-0.1.2 (user goal) trying: base-4.10.0.0/installed-4.1... (dependency of graphql-api-0.1.2) next goal: protolude (dependency of graphql-api-0.1.2) rejecting: protolude-0.2/installed-LXt..., protolude-0.2 (conflict: graphql-api => protolude<0.2) rejecting: protolude-0.1.10, protolude-0.1.9, protolude-0.1.8, protolude-0.1.7, protolude-0.1.6, protolude-0.1.5, protolude-0.1.4, protolude-0.1.3, protolude-0.1.2, protolude-0.1.1 (conflict: base==4.10.0.0/installed-4.1..., protolude => base>=4.6 && <4.10) rejecting: protolude-0.1.0 (conflict: base==4.10.0.0/installed-4.1..., protolude => base<0) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, graphql-api, protolude

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jml/graphql-api/pull/122#issuecomment-327115322, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHq6vqoWiDZvO9upMCQN9jqEzlhdFrkks5sfQ2FgaJpZM4PMOw0 .

tibastral commented 7 years ago

Installed through https://www.haskell.org/platform/mac.html

jml commented 7 years ago

OK. That's GHC 8.2. I suspect that changes to base have compelled changes to protolude, and that we need to update graphql-api to support both versions.

teh commented 7 years ago

I think we can close this with https://github.com/jml/graphql-api/pull/123 merged. I will roll a new release in the next few weeks.