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

Build with aeson 0.10 & http-types 0.9 #48

Closed
DanBurton opened this issue Dec 31, 2015 · 8 comments
Closed

Build with aeson 0.10 & http-types 0.9 #48

DanBurton opened this issue Dec 31, 2015 · 8 comments

Comments

@DanBurton
Copy link

yesod-auth-oauth2 is currently being excluded from stackage since it isn't compatible with these dependencies.

See: commercialhaskell/stackage#845 and commercialhaskell/stackage#880

DanBurton added a commit to commercialhaskell/stackage that referenced this issue Dec 31, 2015
@pbrisbin
Copy link
Member

pbrisbin commented Jan 2, 2016

Thanks for the report. I'll try to get this addressed this week.

@pbrisbin
Copy link
Member

pbrisbin commented Jan 3, 2016

I bumped the version bounds and ran stack build --resolver nightly-2016-01-03, but I see:

While constructing the BuildPlan the following exceptions were encountered:

--  While attempting to add dependency,
    Could not find package hoauth2 in known packages

--  Failure when adding dependencies:    
      hoauth2: needed (>=0.4.7 && <0.5), not present in build plan (latest applicable is 0.4.8)
    needed for package: yesod-auth-oauth2-0.1.5

If there's a workaround, let me know, but it seems we're blocked until hoauth2-0.4.8 (also mentioned in your linked issues) is addressed.

@DanBurton
Copy link
Author

You're right; hoauth2 needs to make the same upgrades, since yesod-auth-oauth2 depends on it. I've opened an issue over there as well.

@DanBurton
Copy link
Author

A new version of hoauth2 is available (0.5), and it is included in nightly-2016-01-08, since the author of hoauth2 has added himself to stackage. Try again?

pbrisbin added a commit that referenced this issue Jan 8, 2016
- aeson-0.10
- hoauth2-0.5
- http-types-09

Fixes #48
pbrisbin added a commit that referenced this issue Jan 8, 2016
- aeson-0.10
- hoauth2-0.5
- http-types-0.9

Fixes #48
@pbrisbin
Copy link
Member

pbrisbin commented Jan 8, 2016

Released with bounds change as 0.1.6.

@DanBurton
Copy link
Author

Nice, thanks! I've opened a PR to restore yesod-auth-oauth2 to stackage:
commercialhaskell/stackage#1110

@pbrisbin
Copy link
Member

pbrisbin commented Jan 8, 2016

Awesome, thanks for handling the stackage end of this -- anything I should look at about the build errors over there?

@DanBurton
Copy link
Author

The travis build error on that PR is due to reasons other than the PR itself, so, nothing to worry about.

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

No branches or pull requests

2 participants