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.
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#L57In the meantime,
hyper
usesh2>=2.4,<3.0,!=2.5.0
.This is crucial in the case of the latest
httpx
with thePyAPNs2
. The thing is that if you have a code which works with the latesthttpx
which requiresh2>=3.0.0
you cannot downgrade it because this will break the code. Trying to addPyAPNs2
as the requirement results in the version conflict asPyAPNs2
requireshyper
which requiresh2<3.0
.