python-hyper / hyper

HTTP/2 for Python.
http://hyper.rtfd.org/en/latest/
MIT License
1.05k stars 191 forks source link

Upgrade to the latest h2 #422

Open lig opened 4 years ago

lig commented 4 years ago

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.

dashdanw commented 4 years ago

+1

Iflier commented 3 years ago

+1 I have this problem: image