-
Notifications
You must be signed in to change notification settings - Fork 326
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
Bump to lts-14.27 #1030
Bump to lts-14.27 #1030
Conversation
We seem to hardcode LTS in CI; do we have to? it's a bit annoying we have to do this in two places |
stack.yaml
Outdated
- servant-swagger-1.1.7.1@rev:2 | ||
- swagger2-2.5 | ||
# - servant-swagger-1.1.7.1@rev:2 | ||
# - swagger2-2.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happened with swagger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revision two was added to 14.27
https://www.stackage.org/lts-14.27/package/servant-swagger-1.1.7.1
swagger2-2.5
I accidentally dropped. Good catch. However it still compiles. What was released in 2.5
that we need?
I'll just add it back for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fisx was there a specific reason why we were on 2.5 ? Dropping it to 2.4 worked fine (no dependency conflicts or compiler errors)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swagger2-2.5 is nice, but not important. I'll see if i can fix the issue upstream, then we can just wait for the next release.
I get very weird compiler errors here swagger2 > /run/user/1000/stack-906dad31b66172ef/swagger2-2.5/src/Data/Swagger/Optics.hs:153:10: error: swagger2 > • Couldn't match type ‘Join swagger2 > A_Lens swagger2 > (IxKind swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)))’ swagger2 > with ‘An_AffineTraversal’ swagger2 > arising from a use of ‘%’ swagger2 > • In the expression: #responses % ix n swagger2 > In an equation for ‘ix’: ix n = #responses % ix n swagger2 > In the instance declaration for ‘Ixed Responses’ swagger2 > | swagger2 > 153 | ix n = #responses % ix n swagger2 > | ^^^^^^^^^^^^^^^^^ swagger2 > swagger2 > /run/user/1000/stack-906dad31b66172ef/swagger2-2.5/src/Data/Swagger/Optics.hs:153:23: error: swagger2 > • Couldn't match type ‘IxValue swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))’ swagger2 > with ‘Referenced Response’ swagger2 > Expected type: Optic swagger2 > (IxKind swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))) swagger2 > NoIx swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)) swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)) swagger2 > (Referenced Response) swagger2 > (Referenced Response) swagger2 > Actual type: Optic' swagger2 > (IxKind swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))) swagger2 > NoIx swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)) swagger2 > (IxValue swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))) swagger2 > • In the second argument of ‘(%)’, namely ‘ix n’ swagger2 > In the expression: #responses % ix n swagger2 > In an equation for ‘ix’: ix n = #responses % ix n swagger2 > | swagger2 > 153 | ix n = #responses % ix n swagger2 > | ^^^^ swagger2 > swagger2 > /run/user/1000/stack-906dad31b66172ef/swagger2-2.5/src/Data/Swagger/Optics.hs:153:26: error: swagger2 > • Couldn't match type ‘Index swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))’ swagger2 > with ‘HttpStatusCode’ swagger2 > Expected type: Index swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)) swagger2 > Actual type: Index Responses swagger2 > • In the first argument of ‘ix’, namely ‘n’ swagger2 > In the second argument of ‘(%)’, namely ‘ix n’ swagger2 > In the expression: #responses % ix n swagger2 > | swagger2 > 153 | ix n = #responses % ix n swagger2 > | ^ swagger2 > swagger2 > /run/user/1000/stack-906dad31b66172ef/swagger2-2.5/src/Data/Swagger/Optics.hs:156:10: error: swagger2 > • Couldn't match type ‘IxValue swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))’ swagger2 > with ‘Referenced Response’ swagger2 > Expected type: Lens' Responses (Maybe (IxValue Responses)) swagger2 > Actual type: Optic swagger2 > A_Lens swagger2 > NoIx swagger2 > Responses swagger2 > Responses swagger2 > (Maybe swagger2 > (IxValue swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)))) swagger2 > (Maybe swagger2 > (IxValue swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)))) swagger2 > • In the expression: #responses % at n swagger2 > In an equation for ‘at’: at n = #responses % at n swagger2 > In the instance declaration for ‘At Responses’ swagger2 > | swagger2 > 156 | at n = #responses % at n swagger2 > | ^^^^^^^^^^^^^^^^^ swagger2 > swagger2 > /run/user/1000/stack-906dad31b66172ef/swagger2-2.5/src/Data/Swagger/Optics.hs:156:26: error: swagger2 > • Couldn't match type ‘Index swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response))’ swagger2 > with ‘HttpStatusCode’ swagger2 > Expected type: Index swagger2 > (Data.HashMap.Strict.InsOrd.InsOrdHashMap swagger2 > HttpStatusCode (Referenced Response)) swagger2 > Actual type: Index Responses swagger2 > • In the first argument of ‘at’, namely ‘n’ swagger2 > In the second argument of ‘(%)’, namely ‘at n’ swagger2 > In the expression: #responses % at n swagger2 > | swagger2 > 156 | at n = #responses % at n swagger2 > | ^ swagger2 >
Yes, that looks redundant, but I don't think it's necessary that the resolver there and the one of wire-server are the same. In the docker image it is just used to build some haskell-related executables, no? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me locally now.
Depends on https://github.com/wireapp/hscim/pull/44
I was wondering if bumping would work without too many changes; and it seems it did :)