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

Conflict between http2-client and http2 #15

Closed
RubenAstudillo opened this issue Nov 7, 2021 · 1 comment
Closed

Conflict between http2-client and http2 #15

RubenAstudillo opened this issue Nov 7, 2021 · 1 comment

Comments

@RubenAstudillo
Copy link

RubenAstudillo commented Nov 7, 2021

Hello, thank you for your work on this project!

Problem

The project doesn't build on GHC 8.10.7

Cause

Kazu's http2 library is now at version 3.0.2 and it ships with a module called Network.HTTP2.Client. It conflicts with a module on http2-client. That is the reason why that project has not been update to use the newer version of the library and remains explicitly http2 < 2.1 bound.

That is not a problem for cabal though, we can use http2 < 2.1 while planning the build. But another problem appears when doing this, as this project uses the Network.HTTP2.Frame module which is only available on http2 >= 3.0.

What is your stopgap solution if any?

I want to know how are you running this. I got it to compile renaming the import from Network.HTTP2.Frame to Network.HTTP2.

@hce
Copy link
Member

hce commented Nov 8, 2021

I am not actively using the project myself anymore, I cannot even test it anymore as my certificates have expired...

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