h2 icon indicating copy to clipboard operation
h2 copied to clipboard

Switch from hyper to httpx not easy because H2 versions

Open juandiegopalomino opened this issue 2 years ago • 0 comments

Hi there! Big fan of the project, but I have a small problem:

Currently, we are using the old hyper package to make an http2 client critical to our application. It was a reliable old work horse, but now we need to update our client and that means moving from hyper to a newer package. Following common sense and your own recommendation, we're trying to move to httpx. However, because the piece of code using it is so crucial, we need to do a slow rollout meaning that both hyper and httpx ideally need to be present at the same time. The problem is that hyper has only been released until h2 version 2.6.2, and httpx's earliest use of h2 is 3.0.0, meaning we have a conflict. I'm wracking my brain trying to resolve it, but not sure what to do. Could it be possible that hyper can be made to work with h2 3.0.0?

juandiegopalomino avatar Aug 10 '22 16:08 juandiegopalomino