Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building with transformers 0.5 (on GHC 8 RC) #181

Closed
wants to merge 1 commit into from

Conversation

cnd
Copy link

@cnd cnd commented Jan 15, 2016

No description provided.

@23Skidoo
Copy link

+1. Would be also nice if the upper bound was bumped for the released version on Hackage.

@HuwCampbell
Copy link
Collaborator

Hi, thanks.
Not sure if this is correct however, as there's a requirement for transformers-compat in the 0.4 branch that transformers is < 0.5. So this probably won't resolve the way you're expecting.
Ed is preparing for a new version over there (ekmett/transformers-compat@4a29c5c).
Once that gets pushed through I'll bump it all up.

@cnd
Copy link
Author

cnd commented Jan 16, 2016

@HuwCampbell to be honest I don't see actual problem with transformers-compat, I used to install it and used it to build another application...

@HuwCampbell
Copy link
Collaborator

The problem is that optparse depends on transformers-compat, which currently requires transformers to be < 0.5 (although this will change very soon with Ed's changes).
So one still can't use transformers 0.5 after this change. To demonstrate, I can set transformers == 0.5.* – then I get a conflict:

trying: optparse-applicative-0.12.0.0 (user goal)
next goal: transformers (dependency of optparse-applicative-0.12.0.0)
rejecting: transformers-0.3.0.0/installed-645... (conflict:
optparse-applicative => transformers==0.5.*)
trying: transformers-0.5.0.0
trying: transformers-compat-0.4.0.4 (dependency of
optparse-applicative-0.12.0.0)
trying: transformers-compat-0.4.0.4:-two
rejecting: transformers-compat-0.4.0.4:-three (conflict:
transformers==0.5.0.0, transformers-compat-0.4.0.4:three =>
transformers>=0.4.1 && <0.5)
rejecting: transformers-compat-0.4.0.4:+three (manual flag can only be changed
explicitly)
Dependency tree exhaustively searched.

@cnd
Copy link
Author

cnd commented Jan 16, 2016

@HuwCampbell oh right it's just bumped so transformers-compat should be < 0.6 either, I was making this PR before version bump

@HuwCampbell
Copy link
Collaborator

Merged a similar PR, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants