python-hyper / hyper

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

`pipenv install` breaks when hyper is included #378

Open skorokithakis opened 6 years ago

skorokithakis commented 6 years ago

I know this is not hyper's problem, but pipenv's maintainer was unwilling to resolve the issue on their end, so I'm wondering whether something can be done here. Basically, the problem is that pipenv cannot resolve the dependencies because Hyper requires an old version of cryptography for PyPy, and pipenv considers that even when not using pypy, so dropping hyper into a project (or installing a library that has it as a dependency) breaks pipenv completely, with no way to recover.

Is there something that could be done to get out of this situation?

darkcloud1801 commented 5 years ago

I think this is a hyper issue, or one of its dependencies.

When I attempt install with pipenv, it's having an issue finding the correct version of h2. `pipenv.exceptions.ResolutionFailure: File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/resolver.py", line 69, in resolve

pipenv.exceptions.ResolutionFailure: File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 726, in resolve_deps

pipenv.exceptions.ResolutionFailure: File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps pipenv.exceptions.ResolutionFailure: resolved_tree = resolver.resolve() pipenv.exceptions.ResolutionFailure: File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/utils.py", line 395, in resolve pipenv.exceptions.ResolutionFailure: raise ResolutionFailure(message=str(e)) pipenv.exceptions.ResolutionFailure: pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches h2<3.0,<4.0,>=2.3,>=3.0 pipenv.exceptions.ResolutionFailure: Tried: 1.0.0, 1.0.0, 1.1.0, 1.1.0, 1.1.1, 1.1.1, 2.0.0, 2.0.0, 2.1.0, 2.1.0, 2.1.1, 2.1.1, 2.1.2, 2.1.2, 2.1.3, 2.1.3, 2.1.4, 2.1.4, 2.1.5, 2.1.5, 2.2.0, 2.2.0, 2.2.1, 2.2.1, 2.2.2, 2.2.2, 2.2.3, 2.2.3, 2.2.4, 2.2.4, 2.2.5, 2.2.5, 2.2.6, 2.2.6, 2.2.7, 2.2.7, 2.3.0, 2.3.0, 2.3.1, 2.3.1, 2.3.2, 2.3.2, 2.3.3, 2.3.3, 2.3.4, 2.3.4, 2.4.0, 2.4.0, 2.4.1, 2.4.1, 2.4.2, 2.4.2, 2.4.3, 2.4.3, 2.4.4, 2.4.4, 2.5.0, 2.5.0, 2.5.1, 2.5.1, 2.5.2, 2.5.2, 2.5.3, 2.5.3, 2.5.4, 2.5.4, 2.6.0, 2.6.0, 2.6.1, 2.6.1, 2.6.2, 2.6.2, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.1.0, 3.1.0 pipenv.exceptions.ResolutionFailure: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.`