python-hyper / hyper

HTTP/2 for Python.

Home Page:http://hyper.rtfd.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade to the latest h2

lig opened this issue · comments

It looks like there are some projects out there that have been using h2>=3.0.0 releases, i.e. httpx https://github.com/encode/httpx/blob/c1f51277d3df8b4ec956c77e0e87e84c9da49fb9/setup.py#L57

In the meantime, hyper uses h2>=2.4,<3.0,!=2.5.0.

This is crucial in the case of the latest httpx with the PyAPNs2. The thing is that if you have a code which works with the latest httpx which requires h2>=3.0.0 you cannot downgrade it because this will break the code. Trying to add PyAPNs2 as the requirement results in the version conflict as PyAPNs2 requires hyper which requires h2<3.0.

+1
I have this problem:
image